Re: Single server multiple databases - extension

Поиск
Список
Период
Сортировка
От Brian Trudal
Тема Re: Single server multiple databases - extension
Дата
Msg-id 1331080768.44815.YahooMailNeo@web31804.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Single server multiple databases - extension  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
That solved the issue. Apart from hstore, I needed to drop ghstore as well.

Thanks again

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian Trudal <dbrb2002-sql@yahoo.com>
Cc: Bartosz Dmytrak <bdmytrak@eranet.pl>; "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Sent: Tuesday, March 6, 2012 4:09 PM
Subject: Re: [GENERAL] Single server multiple databases - extension

Brian Trudal <dbrb2002-sql@yahoo.com> 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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


В списке pgsql-general по дате отправления:

Предыдущее
От: Matteo Sgalaberni
Дата:
Сообщение: Re: corrupted table postgresql 8.3
Следующее
От: Aleksey Tsalolikhin
Дата:
Сообщение: A 154 GB table swelled to 527 GB on the Slony slave. How to compact it?