Re: Hmmm 8.1 pg_dumpall cannot dump older db's?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hmmm 8.1 pg_dumpall cannot dump older db's?
Date: 2005-07-08 13:41:30
Message-ID: 20050708134130.GA20685@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 07, 2005 at 23:44:44 -0400,
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-07-08 13:43:54 Re: Hmmm 8.1 pg_dumpall cannot dump older db's?
Previous Message Heikki Linnakangas 2005-07-08 13:39:05 Re: Checkpoint cost, looks like it is WAL/CRC