Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n
Date
Msg-id 1290207350.10258.9250.camel@jd-desktop
Whole thread Raw
In response to Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, 2010-11-19 at 17:45 -0500, Tom Lane wrote:
> Adrian Klaver <adrian.klaver@gmail.com> writes:
> > Now I understand. I wonder if this would be a good time to ask about
> > whether pg_restore could be made to work with plain-text files:)
>
> Not in any particularly useful way --- the plain text dump wouldn't
> really support selective restore, etc etc.

It would however lend to consistency in our user interface. It is really
quite silly that pg_restore can't restore the default backup method.

JD

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n
Next
From: Tom Lane
Date:
Subject: Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n