From: | Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk> |
---|---|
To: | "'Philip Warner'" <pjw(at)rhyme(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Cc: | Pavel(at)Janik(dot)cz |
Subject: | RE: [HACKERS] pg_dump & blobs - editable dump? |
Date: | 2000-07-12 13:58:50 |
Message-ID: | 1B3D5E532D18D311861A00600865478CF1B078@exchange1.nt.maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general 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(at)rhyme(dot)com(dot)au]
Sent: Wednesday, July 12, 2000 2:51 PM
To: pgsql-hackers(at)postgresql(dot)org; pgsql-general(at)postgresql(dot)org
Cc: Pavel(at)Janik(dot)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 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2000-07-12 14:13:39 | Re: [HACKERS] pg_dump & blobs - editable dump? |
Previous Message | Philip Warner | 2000-07-12 13:51:13 | pg_dump & blobs - editable dump? |
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2000-07-12 14:13:39 | Re: [HACKERS] pg_dump & blobs - editable dump? |
Previous Message | Bruce Momjian | 2000-07-12 13:52:52 | Interbase news |