Re: pg_dump verbose start and stop times?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: pg_dump verbose start and stop times?
Дата
Msg-id aDmD7C-CTAesqkPl@depesz.com
обсуждение исходный текст
Ответы Re: pg_dump verbose start and stop times?
Список pgsql-admin
On Thu, May 29, 2025 at 08:51:49PM -0400, Ron Johnson wrote:
> The non-sense of putting start and stop times in the dump file while not
> putting them in stderr must have caused my brain to skip over "to the dump
> file".
> 
> Honestly, who cares if start and stop times are in the dump file?  stderr
> is where a DBA wants to see timings.

=$ date >&2; pg_dump …; date >&2

That's all you need.

Whether pg_dump does what you want, or not, is not really important
given how easy it is to fix the thing yourself.

And the assumption that: "it doesn't do what *I* want, so it's
non-sense", is slightly exaggerating commonality of your experience.

Best regards,

depesz




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