Re: Single server multiple databases - extension

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian Trudal <dbrb2002-sql(at)yahoo(dot)com>
Cc: Bartosz Dmytrak <bdmytrak(at)eranet(dot)pl>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Single server multiple databases - extension
Date: 2012-03-07 00:09:48
Message-ID: 23219.1331078988@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brian Trudal <dbrb2002-sql(at)yahoo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ondrej Ivanič 2012-03-07 00:12:58 Re: replication between US <-> EU
Previous Message Brian Trudal 2012-03-06 23:48:13 Re: Single server multiple databases - extension