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.

posted @ 2019-02-19 15:49  大西瓜Paul  阅读(4075)  评论(0编辑  收藏  举报
/*增加返回顶部按钮*/ 返回顶部 /*给标题增加蓝色背景长条*/