Search Postgresql Archives

Re: Single server multiple databases - extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Trudal <dbrb2002-sql@xxxxxxxxx> writes:
> Thanks for getting back to me. Still no luck; and I tried all possibilities..
> For example, when I tried on new DB:

> db1=# CREATE EXTENSION hstore
>   SCHEMA public
>   VERSION "1.0";
> ERROR:  type "hstore" already exists

> db1=# create table foo(id hstore);
> ERROR:  type "hstore" is only a shell


Apparently you've got a shell type named "hstore" cluttering that
database.  Try "DROP TYPE hstore" and then see if you can create
the extension.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux