Another thing,
Recreating extension again via „CREATE EXTENSION“ doesn’t work XY=# CREATE EXTENSION hstore SCHEMA public; ERROR: type "hstore" already exists XY=# CREATE EXTENSION hstore; ERROR: type "hstore" already exists
Any ideas?
From: Tomáš Uko [mailto:uko@xxxxxxxxx]
Hi,
Sure, otherwise tables with hstore column won’t be created/usable (IMHO). Extension is part of contrib package (if I remember correctly)
[root@XX ~]# ls -al /usr/pgsql-9.3/lib/hstore.so -rwxr-xr-x 1 root root 56336 May 11 16:59 /usr/pgsql-9.3/lib/hstore.so
[root@XX ~]# ls -al /usr/pgsql-9.3/share/extension/hstore* -rw-r--r-- 1 root root 279 May 11 16:57 /usr/pgsql-9.3/share/extension/hstore--1.0--1.1.sql -rw-r--r-- 1 root root 1201 May 11 16:57 /usr/pgsql-9.3/share/extension/hstore--1.1--1.2.sql -rw-r--r-- 1 root root 12646 May 11 16:57 /usr/pgsql-9.3/share/extension/hstore--1.2.sql -rw-r--r-- 1 root root 158 May 11 16:57 /usr/pgsql-9.3/share/extension/hstore.control -rw-r--r-- 1 root root 5509 May 11 16:57 /usr/pgsql-9.3/share/extension/hstore--unpackaged--1.0.sql
T.
From: Payal Singh [mailto:payal@xxxxxxxxxx]
On the problematic machines, do you see a hstore.so file in the pgsql/lib directory?
Also, do you see hstore sql files in the pgsql/share/extension directory? Payal Singh, OmniTI Computer Consulting Inc.
On Wed, Sep 21, 2016 at 6:09 AM, Uko, Tomáš <uko@xxxxxxxxx> wrote:
|