Search Postgresql Archives

Re: Proper format for pg_dump file date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 19, 2024 at 8:55 AM Rich Shepard <rshepard@xxxxxxxxxxxxxxx> wrote:
Is the correct date format for pg_dump
        <filename>-$(date +%Y-%m-%d).sql
or
        <filename>-YYYY-MM-DD.sql
or something else?


If you are doing a custom format dump using .sql as the extension is objectively wrong.  it is correct if you are doing an sql dump, but those are generally best avoided.

David J.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux