Re: pg_dump

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: pg_dump
Дата
Msg-id 3.0.5.32.20010317225834.01eafa20@mail.rhyme.com.au
обсуждение исходный текст
Ответ на pg_dump  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
At 17:36 17/03/01 +0900, Tatsuo Ishii wrote:
>I know that new pg_dump can dump out large objects. But what about
>pg_dumpall? Do we have to dump out a whole database cluster by using
>pg_dumpall then run pg_dump separetly to dump large objects?

That won't even work, since pg_dump won't dump BLOBs without dumping all
the tables in the database.


>That seems pain...

It is if you do not have individual database backup procedures; but
pg_dumpall uses the plain text dump format, which, without changes to
lo_import, can not restore binary data. If lo_import could load UUENCODED
data from STDIN, then maybe we could get it to work. Alternatively, we may
be able to put an option on pg_dumpall that will dump to one long script
file with embedded TAR archives, but I have not really looked at the option.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Performance monitor signal handler
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Performance monitor signal handler