AW: Modified pg_dump & new pg_restore need testing... - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: Modified pg_dump & new pg_restore need testing...
Date
Msg-id 219F68D65015D011A8E000006F8590C605BA59AF@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
Responses Re: AW: Modified pg_dump & new pg_restore need testing...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > As suggested I have now added a '--plain-text, -p' option to pg_dump
> > to dump it into text.
> 
> The *default* action of pg_dump should be to write plain text and to
> standard output. Changing that will certainly make a lot of 
> people very unhappy.

Imho the default should be text for anything except data. The data should
imho 
be in a format similar to a binary cursor. I say similar, because this
format should 
probably be converted to a network byte order, so you can restore on another
hardware. Imho calling type output and input functions during backup/restore
is a substantial overhead that would best be avoided.

I agree, that the output should not be compressed by default.

Andreas


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: AW: Modified pg_dump & new pg_restore need testing...
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: Big 7.1 open items