Re: RE: [HACKERS] pg_dump & blobs - editable dump?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Giles Lean <giles(at)nemeton(dot)com(dot)au>
Cc: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>, pgsql-general(at)postgresql(dot)org, Pavel(at)Janik(dot)cz
Subject: Re: RE: [HACKERS] pg_dump & blobs - editable dump?
Date: 2000-07-13 00:58:06
Message-ID: 3.0.5.32.20000713105806.0267e500@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

At 07:58 13/07/00 +1000, Giles Lean wrote:
>
>I recommend you compress the whole stream, not the pieces. Presumably
>you can determine the size of the pieces you're backing up, and ending
>with a .tar.gz (or whatever) file is more convenient to manage than a
>.tar file of compressed pieces unless you really expect people to be
>extracting individual files from the backup very often.
>
>Having to pass everything through /tmp would be really unfortunate.
>

The only things I compress are the table data and the blobs (ie. the big
things); unfortunately, the table data is of unknown uncompressed size. I
*could* do two 'COPY TO STDOUT' calls, just to get the size, but that seems
like a very bad idea.

----------------------------------------------------------------
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 |/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erich 2000-07-13 01:12:00 Re: Figured it out (psql and Gnu readline)
Previous Message Tom Lane 2000-07-13 00:50:58 Re: Figured it out (psql and Gnu readline)

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-07-13 01:11:38 Unix philosophy
Previous Message Hiroshi Inoue 2000-07-13 00:43:40 RE: [7.0.2] INDEX' TUPLES != HEAP' ..