Re: Upgrade Data from 7.x.x to 8.x.x

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: patrick(dot)brennan(at)bsdfirst(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Upgrade Data from 7.x.x to 8.x.x
Date: 2005-06-06 02:43:41
Message-ID: 6063.1118025821@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Patrick Brennan" <patrick(dot)brennan(at)bsdfirst(dot)com> writes:
> Hopefully a simple question. I have a copy of the data from an old
> PostgreSQL installation (it's not a dump, it's a copy of the PGDATA
> directory). I have two questions, is there a simple way for me to
> determine the version of PostgreSQL that this data belongs to?

Read the PG_VERSION file that appears at the top level.

> Secondly, is there anyway to import this data into PostgreSQL 8.0
> without need to run a 7.x postmaster?

No. You need to run a matching 7.x postmaster and do pg_dumpall.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2005-06-06 03:49:40 Re: unable to GRANT on sequence
Previous Message Tom Lane 2005-06-06 02:41:09 Re: unable to GRANT on sequence