Giter VIP home page Giter VIP logo

Comments (2)

favoyang avatar favoyang commented on June 7, 2024

如果您使用的是阿里云PG12,PG13(对应的zhparser 2.1)。那么只能等待阿里云修复该产品的缺陷。在本文书写时2021-02-23,他们的云数据库有一个自定义词库文件的权限问题,因此无法同步到文件中。

db-test=> select to_tsvector('zh-profile','计算机');
NOTICE:  zhparser add dict : "/u01/pgsql/share/tsearch_data/dict_extra.xdb" failed!

db-test=> select sync_zhprs_custom_word();
ERROR:  query string argument of EXECUTE is null
CONTEXT:  PL/pgSQL function sync_zhprs_custom_word() line 17 at EXECUTE

具体修复时间,据推测是2021年3月以后。您可以选择等待或暂时使用PG11。阿里云PG11可以支持zhparser1.0的自定义词库的更新函数,并可以正常使用。https://help.aliyun.com/document_detail/140894.html?spm=5176.smartservice_service_chat.0.0.1069709aIN5R1g

from zhparser.

zlianzhuang avatar zlianzhuang commented on June 7, 2024

使用超级用户执行就可以了.

from zhparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.