Re: PostgreSQL Downgrades - Mailing list pgsql-general

From Adrian Klaver
Subject Re: PostgreSQL Downgrades
Date
Msg-id 5162CA3D.4070702@gmail.com
Whole thread Raw
In response to Re: PostgreSQL Downgrades  (Pete Wall <Pete_Wall@symantec.com>)
Responses Re: PostgreSQL Downgrades
Re: PostgreSQL Downgrades
List pgsql-general
On 04/08/2013 06:41 AM, Pete Wall wrote:
> It was the data changes I was concerned about: Any
> additions/deletions/modifications done on the database while it's using
> the 9.x binaries that should be brought back if we downgrade to the 8.x
> version.
>
> I think the only way would be to "manually" dump the data using custom
> psql commands instead of using pg_dump/pg_dumpall.

You could use the -a (data only) switch to pg_dump:
http://www.postgresql.org/docs/9.2/interactive/app-pgdump.html

This assumes the table layout is the same in your 9.x and 8.x databases,
also that you have not used any new data types i.e JSON.

>
> Thanks, Adrian.
>



--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Pete Wall
Date:
Subject: Re: PostgreSQL Downgrades
Next
From: Richard Harley
Date:
Subject: Re: Selecting timestamp from Database