Re: -f <output file> option for pg_dumpall

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dave Page <dpage(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: -f <output file> option for pg_dumpall
Date: 2007-01-05 22:58:18
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers

Tom Lane schrieb:
> Dave Page <dpage(at)postgresql(dot)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...


In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message elein 2007-01-05 23:15:59 Re: Status of Fix Domain Casting TODO
Previous Message Bruce Momjian 2007-01-05 22:55:45 Re: [COMMITTERS] pgsql: Stamp major release 8.3.0,