Re: -f option for pg_dumpall

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: -f option for pg_dumpall
Дата
Msg-id 459ED80A.7060300@wildenhain.de
обсуждение исходный текст
Ответ на Re: -f option for pg_dumpall  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Stamp major release 8.3.0,
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Tabs or Spaces