RE: pg_dump & blobs - editable dump?

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: pg_dump & blobs - editable dump?
Дата
Msg-id 1B3D5E532D18D311861A00600865478CF1B078@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Ответ на pg_dump & blobs - editable dump?  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Why not have it using something like tar, and the first file being stored in
ascii?

That way, you could extract easily the human readable SQL but still pipe the
blobs to stdout.

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council


-----Original Message-----
From: Philip Warner [mailto:pjw@rhyme.com.au]
Sent: Wednesday, July 12, 2000 2:51 PM
To: pgsql-hackers@postgresql.org; pgsql-general@postgresql.org
Cc: Pavel@Janik.cz
Subject: [HACKERS] pg_dump & blobs - editable dump?



I have been speaking to Pavel about pg_dump support of blobs, and he thinks
it is important to allow for some kind of human-readable version of the
dump to be created.

My guess is that this will involve a plain text schema dump, followed by
all BLOBs in separate files, and a script to load them. To implement this
I'll obviosly need to be passed a directory/file location for the script
since I can't pipe seperate files to stdout.

I'd be interested in knowing what features people think are important in
this kind of format; what do you need to do with the blob files, what do
peple want to edit, etc etc.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Interbase news
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: pg_dump & blobs - editable dump?