Re: [HACKERS] pg_dump & blobs - editable dump?
От | Philip Warner |
---|---|
Тема | Re: [HACKERS] pg_dump & blobs - editable dump? |
Дата | |
Msg-id | 3.0.5.32.20000713002153.02ef95b0@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: [HACKERS] pg_dump & blobs - editable dump? (Lamar Owen <lamar.owen@wgcr.org>) |
Список | pgsql-general |
At 10:13 12/07/00 -0400, Lamar Owen wrote: >Philip Warner wrote: >> 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. > >uuencode the blobs, perhaps, using a shar-like format? For the human readable version, the request was to make it editable and sendable to psql. As a result the BLOBs need to be in their binary format OR psql needs to support BLOB import from stdin. As a first pass I was hoping for the simple 'dump them into files' solution. What I am confused by is what people actually want to do with a load of BLOBs sitting in a directory; if there are specific needs, then I'd also like to cater for them in the custom file formats. ---------------------------------------------------------------- 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-general по дате отправления: