From: Craig Ringer <ringerc@ringerc.id.au>
To: Gary Haran <gary.haran@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6718: Cannot delete, create or check existence of extension
Date: Thu, 05 Jul 2012 21:31:44 +0800
Message-ID: <4FF59740.5030803@ringerc.id.au> (raw)
In-Reply-To: <CAOqkYMTaFfCYKaJT2J4kU+zEhRqYe3pU99dEYrmKi3QjG_5B+w@mail.gmail.com>
References: <E1SmTwp-0006YP-1E@wrigleys.postgresql.org>
<4FF53ABB.4060209@ringerc.id.au>
<CAOqkYMTaFfCYKaJT2J4kU+zEhRqYe3pU99dEYrmKi3QjG_5B+w@mail.gmail.com>
On 07/05/2012 09:06 PM, Gary Haran wrote:
> I installed it using an hstore.sql file that comes with the home brew
> (https://github.com/mxcl/homebrew/) version of postgresql on OS X.
> Maybe we missed a step or something in the whole installation process.
>
> We most likely upgraded our pg version at some point (we try to stay
> with the times).
If you upgrade an existing database to 9.1 and that database has contrib
modules loaded in it, you must convert them to extensions using the
syntax I gave previously. It's right there in the release notes under
"Migrating to version 9.1":
http://www.postgresql.org/docs/9.1/static/release-9-1.html#AEN107367
This is a bit of a wart, in that it'd be much nicer to be able to
transparently re-package pre-extension contrib modules into extensions.
I know Dimitri and Tom tried to get this working, but it clearly wasn't
possible to make it work simply and reliably. Since it's a one-off
migration during upgrade, it isn't that big a deal.
If you need help doing this or you have further questions, please ask
for help on the pgsql-general mailing list.
--
Craig Ringer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, gary.haran@gmail.com
Subject: Re: BUG #6718: Cannot delete, create or check existence of extension
In-Reply-To: <4FF59740.5030803@ringerc.id.au>
References: <E1SmTwp-0006YP-1E@wrigleys.postgresql.org> <4FF53ABB.4060209@ringerc.id.au> <CAOqkYMTaFfCYKaJT2J4kU+zEhRqYe3pU99dEYrmKi3QjG_5B+w@mail.gmail.com> <4FF59740.5030803@ringerc.id.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox