Thread: AW: AW: Modified pg_dump & new pg_restore need testing. ..

AW: AW: Modified pg_dump & new pg_restore need testing. ..

From
Zeugswetter Andreas SB
Date:
> At 09:56 3/07/00 +0200, Zeugswetter Andreas SB wrote:
> >
> >> - the default output file format is a custom format with compressed
> >> sections (the data dumps). It is NOT a text file.
> >
> >Can this be turned off, or made to be feature, that you can 
> turn on ? 
> >Imho most dumps will be piped to a locally 
> >optimized compressor (a tape, a storage manager, lzop, ...) anyway, 
> >thus most of the time a backup would compress twice.
> 
> Yes. The default is now plain text for compatibility with the original
> pg_dump (and with pg_dumpall). But by going to plain text 
> output you gain
> none of the features of pg_restore (reordering, selection etc).

Could the text format be changed in a compatible way, 
that would allow pg_restore's features ? I am thinking of inserted comment 
lines that describe the needed sections. 

Imho the new default format does not need to be compatible 
with pg_dump's output. I would still not compress by default.

Andreas