Re: 8.5 TODO: Add comments to output indicating version of pg_dump and of the database server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.5 TODO: Add comments to output indicating version of pg_dump and of the database server
Дата
Msg-id 3677.1253912361@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 8.5 TODO: Add comments to output indicating version of pg_dump and of the database server  ("shakahshakah@gmail.com" <shakahshakah@gmail.com>)
Ответы Re: 8.5 TODO: Add comments to output indicating version of pg_dump and of the database server  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
"shakahshakah@gmail.com" <shakahshakah@gmail.com> writes:
> From pg_dump/pg_restore section (9.2 of the Todo page on the
> PostgreSQL Wiki), is the following item
>   "Add comments to output indicating version of pg_dump and of the
> database server"
> simply asking for a change to the pg_dump header from:

I think so, but what's not clear is whether this is a good idea to do
in the default output.  It might only be appropriate in "verbose" mode,
so as not to introduce unnecessary diffs between logically identical
dumps.  We long ago got rid of timestamps in the default output for
exactly that reason.

Another issue is that it's not all that clear what to do or how to do it
for archive dumps --- do you then want both pg_dump and pg_restore to
tell you about themselves?  If pg_restore adds anything, then this'd
also break the principle that pg_dump >foo should give identical output
to pg_dump -Fc | pg_restore >foo.  Which is something that I for one
put a great deal of stock in, for testing purposes.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joshua Tolley
Дата:
Сообщение: Re: syslog_line_prefix
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby 0.2.1