Re: PostgreSQL Downgrades

From: Pete Wall <Pete_Wall(at)symantec(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL Downgrades
Date: 2013-04-08 13:49:18
Message-ID: CD8834C1.185B4%pete_wall@symantec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

All tables and rules would be the same. I assume with the -a flag, we'd
need to create the database and relations beforehand, but that shouldn't
be too much trouble.

Thanks again,
-Pete

On 4/8/13 8:46 AM, "Adrian Klaver" <adrian(dot)klaver(at)gmail(dot)com> wrote:

>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(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Harley 2013-04-08 13:49:43 Re: Selecting timestamp from Database
Previous Message Adrian Klaver 2013-04-08 13:48:35 Re: Selecting timestamp from Database