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