jaiminpan / pg_jieba

Postgresql full-text search extension for chinese
BSD 3-Clause "New" or "Revised" License
338 stars 65 forks source link

64位ubuntu18下postgres10不能创建pg_jieba #33

Closed webbery closed 5 years ago

webbery commented 5 years ago

在ubuntu下编译完成了,make install也没有问题 但是在postgres中测试的时候出现如下错误信息:

colern=# create extension pg_jieba;
FATAL:  cannot create PGC_POSTMASTER variables after startup
server closed the connection unexpectedly
    This probably means the server terminated abnormally
    before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

请问该如何解决?

jaiminpan commented 5 years ago

Thanks for reporting. Fix at commit 3264b708e1c5f4a1f36d985196c89fadb11cf223.

There are two workround.

  1. Set postgresql.conf shared_preload_libraries = 'pg_jieba.so' Or
  2. Use the latest master. Then install again.