Re: Load DB - Conversion from 8.1.4 to 8.2.4 - Mailing list pgsql-admin

From Tommy Gildseth
Subject Re: Load DB - Conversion from 8.1.4 to 8.2.4
Date
Msg-id 467ECEE2.9070701@usit.uio.no
Whole thread Raw
In response to Load DB - Conversion from 8.1.4 to 8.2.4  ("Campbell, Lance" <lance@uiuc.edu>)
Responses Re: Load DB - Conversion from 8.1.4 to 8.2.4  (Peter Koczan <pjkoczan@gmail.com>)
List pgsql-admin
Campbell, Lance wrote:
>
> I will be converting from PostgreSQL 8.1.4 to 8.2.4. Is it OK to do
> the following command in order to load the new database after install?
>
> pg_dump -h /host1/ –p 1234 /dbname/ | psql -h /host1 –p 56789/ /dbname///
>
> Remember that port 1234 is PostgreSQL 8.1.4 and port 5678 is
> PostgreSQL 8.2.4.
>

Should be fine, as long as you ensure that the pg_dump you use, is the
one from your 8.2.4 installation, and not the 8.1.4 version.


--
Tommy Gildseth
DBA, Gruppe for databasedrift
Universitetet i Oslo, USIT
m: +47 45 86 38 50
t: +47 22 85 29 39


pgsql-admin by date:

Previous
From: "Campbell, Lance"
Date:
Subject: Load DB - Conversion from 8.1.4 to 8.2.4
Next
From: Joe Barwell
Date:
Subject: Re: initdb problem