Re: RE: [HACKERS] pg_dump & blobs - editable dump?
Jim Mercer <jim@reptiles.org>
From: Jim Mercer <jim@reptiles.org>
To: Philip Warner <pjw@rhyme.com.au>
Cc: Peter Mount <petermount@it.maidstone.gov.uk>,
pgsql-hackers@postgresql.org, pgsql-general@postgresql.org, Pavel@Janik.cz
Date: 2000-07-12T14:24:46Z
Lists: pgsql-hackers
On Thu, Jul 13, 2000 at 12:17:28AM +1000, Philip Warner wrote: > At 14:58 12/07/00 +0100, Peter Mount wrote: > >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. > > If anyone can send me a nice interface for reading and writing a tar file > from C, I'll do it. I just don't have the inclination to learn about tar > internals at the moment. By 'nice' I mean that I would like: i suspect you might find a library of either tar or cpio read functions as part of the FreeBSD sysinstall utility. -- [ Jim Mercer jim@reptiles.org +1 416 410-5633 ] [ Reptilian Research -- Longer Life through Colder Blood ] [ Don't be fooled by cheap Finnish imitations; BSD is the One True Code. ]