Re: Bad pg_dump error message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bad pg_dump error message
Дата
Msg-id 10970.1347341207@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bad pg_dump error message  (Mike Christensen <mike@kitchenpc.com>)
Список 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 по дате отправления:

Предыдущее
От: Mike Christensen
Дата:
Сообщение: Re: Bad pg_dump error message
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: checkpoint_timeout and archive_timeout