Re: Hmmm 8.1 pg_dumpall cannot dump older db's? - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: Hmmm 8.1 pg_dumpall cannot dump older db's?
Date
Msg-id 20050708134130.GA20685@wolff.to
Whole thread Raw
In response to Re: Hmmm 8.1 pg_dumpall cannot dump older db's?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Hmmm 8.1 pg_dumpall cannot dump older db's?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Jul 07, 2005 at 23:44:44 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> The thing that makes this slightly painful is that we can't tell what
> version we are dumping *from* until we've connected, and so we cannot
> automagically "do the right thing" here.  I don't really see any other
> way to do it than the try-and-fallback approach.

But after falling back to template1, a version check could be made and
if running 8.1 or higher an error message could be displayed.


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Must be owner to truncate?
Next
From: Tom Lane
Date:
Subject: Re: Hmmm 8.1 pg_dumpall cannot dump older db's?