Re: Proper format for pg_dump file date

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Proper format for pg_dump file date
Date: 2024-06-19 17:15:07
Message-ID: CANzqJaD2iyfYGdRxEfiKkVxxR6r0F9Mi17MPuji97oz4yvG3og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jun 19, 2024 at 11:55 AM Rich Shepard <rshepard(at)appl-ecosys(dot)com>
wrote:

> Is the correct date format for pg_dump
> <filename>-$(date +%Y-%m-%d).sql
> or
> <filename>-YYYY-MM-DD.sql
>

"Click select" stops at dash in some ssh clients, but not in others.
That's what drives *my* decision making.

(Also, "%F" is equivalent to "%Y-%m-%d".)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2024-06-19 17:17:40 Re: Proper format for pg_dump file date
Previous Message Rich Shepard 2024-06-19 17:13:56 Re: Proper format for pg_dump file date