Re: pg_dumpall and version confusion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dumpall and version confusion
Date: 2007-03-15 17:54:22
Message-ID: 12720.1173981262@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> writes:
> Alvaro Herrera wrote:
>> What's wrong with that? 8.2 will understand the GRANT ON SEQUENCE
>> without a problem.
>>
> Yes, but 8.1 and earlier wont!

You're missing the point entirely. The versioning contract for pg_dump
is that version M.N can dump from servers of versions <= M.N, but the
dump it produces is meant to load into server versions >= M.N. If you
want a dump that will reload into 8.1, use 8.1's pg_dump.

pg_dump is messy enough already just trying to support this contract.
I have *no* interest in trying to get it to support an --output-version
switch...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robin Ericsson 2007-03-15 17:58:41 Re: simple coordinate system
Previous Message Webb Sprague 2007-03-15 17:31:09 Re: simple coordinate system