Re: Bad pg_dump error message - Mailing list pgsql-general

From Tom Lane
Subject Re: Bad pg_dump error message
Date
Msg-id 10970.1347341207@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bad pg_dump error message  (Mike Christensen <mike@kitchenpc.com>)
List pgsql-general
Mike Christensen <mike@kitchenpc.com> writes:
>> Is the TAR format just the raw SQL commands, just tar'ed and then sent
>> over the wire?

Sorta.  If you pull it apart with tar, you'll find out there's a SQL
script that creates the database schema, and then a separate tar-member
file containing the data for each table.

Custom format goes this a little better by splitting the information up
into a separate archive item for each database object.  But there's no
tool other than pg_restore that knows how to deconstruct custom-format
archives.

            regards, tom lane


pgsql-general by date:

Previous
From: Mike Christensen
Date:
Subject: Re: Bad pg_dump error message
Next
From: "Kevin Grittner"
Date:
Subject: Re: checkpoint_timeout and archive_timeout