Re: -f option for pg_dumpall - Mailing list pgsql-hackers

From Tino Wildenhain
Subject Re: -f option for pg_dumpall
Date
Msg-id 459ED80A.7060300@wildenhain.de
Whole thread Raw
In response to Re: -f option for pg_dumpall  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane schrieb:
> Dave Page <dpage@postgresql.org> writes:
>> As far as I can see, adding a -f option to pg_dumpall should be straight
>> forward, the only issue being that we'd need to pass pg_dump an
>> additional (undocumented?) option to tell it to append to the output
>> file instead of writing it as normal.
> 
> Wouldn't it be easier/better to re-point stdout at the -f file, and not
> touch pg_dump at all?

Yeah, and maybe have a modifier like %n or something which would instead
write different files and replaces %n with the name of the database...

Regards
Tino


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Stamp major release 8.3.0,
Next
From: Bruce Momjian
Date:
Subject: Re: Tabs or Spaces