gpt4 book ai didi

postgresql - PostgreSQL 9.5x 或 9.6x 中的 phraseto_tsquery?

转载 作者:行者123 更新时间:2023-11-29 13:22:28 25 4
gpt4 key购买 nike

我在 9.5 手册中找到了对 phraseto_tsquery 的引用 https://postgrespro.com/docs/postgrespro/9.5/textsearch-controls

但是如果我在查询中使用它,它会给我这个错误:

No function matches the given name and argument types.

SELECT phraseto_tsquery('english', 'The Fat Rats');

此功能是否未按预期添加到 9.5 中,还是我这边可能存在其他问题。当前正在运行数据库的 9.5.4。有谁能证实一下吗?

最佳答案

对于任何正在寻找的人;采取步骤安装 postgresql 9.6beta4,我不再收到错误消息。换句话说,phraseto_tsquery 似乎只在当前的 9.6 beta 和即将发布的完整版本中得到完全支持。

关于postgresql - PostgreSQL 9.5x 或 9.6x 中的 phraseto_tsquery?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39238985/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com