Re: pg_dump verbose start and stop times? - Mailing list pgsql-admin

From hubert depesz lubaczewski
Subject Re: pg_dump verbose start and stop times?
Date
Msg-id aDmD7C-CTAesqkPl@depesz.com
Whole thread Raw
Responses Re: pg_dump verbose start and stop times?
List 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 by date:

Previous
From: Motog Plus
Date:
Subject: Seeking Suggestions for Best Practices: Archiving and Migrating Historical Data in PostgreSQL
Next
From: Holger Jakobs
Date:
Subject: Re: Seeking Suggestions for Best Practices: Archiving and Migrating Historical Data in PostgreSQL