PostgreSQL創建擴展出錯


問題:

loraserver_as=# create extension pg_trgm;
ERROR:  could not open extension control file "/usr/pgsql-10/share/extension/pg_trgm.control": No such file or directory

 

未解決:

yum install postgresql-contrib

systemctl restart postgresql-10

 

Because postgis.contol is located in another place,

find /usr -name postgis.control /usr/share/pgsql/extension/postgis.control

But postgres trying to create it from /usr/pgsql-9.6/share/extension/postgis.control

This question already was asked before, but my problem is other.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM