Re: How to upgrade postgres 8.4 -> 9.1 contrib?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Benedikt Grundmann <bgrundmann(at)janestreet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to upgrade postgres 8.4 -> 9.1 contrib?
Date: 2012-11-19 15:22:06
Message-ID: 1638.1353338526@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Benedikt Grundmann <bgrundmann(at)janestreet(dot)com> writes:
> What is the official guide line?

You could try (1) run the 9.0 version of the hstore install script
and then (2) do the CREATE EXTENSION FROM UNPACKAGED bit. I'd
strongly recommend testing this procedure in a scratch copy of your
installation first, though.

In a quick look through the diffs between the 8.4 and 9.0 hstore
install scripts, it looks like this should mostly work, except that
9.0 has some new operators added to the GIST and GIN index opclasses.
If you care about whether those are indexable, you would need to
drop those opclasses (and any dependent indexes) before running
the 9.0 install script, and then recreate the indexes after.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Benedikt Grundmann 2012-11-19 15:27:14 Re: How to upgrade postgres 8.4 -> 9.1 contrib?
Previous Message Welty, Richard 2012-11-19 14:55:49 Re: Experiences with pl/Java