Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename - Mailing list pgsql-admin

From Tom Lane
Subject Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
Date
Msg-id 22265.1334153321@sss.pgh.pa.us
Whole thread Raw
In response to 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename  ("L'Huillier, Jeff" <Jeff.LHuillier@ONSTAR.com>)
Responses Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename  ("L'Huillier, Jeff" <Jeff.LHuillier@ONSTAR.com>)
List pgsql-admin
"L'Huillier, Jeff" <Jeff.LHuillier@ONSTAR.com> writes:
> When enabling WAL archiving and setting up the archive_command, is it
> possible to add the date & time as an extension to the %f copied to the
> archive directory in order to avoid overwriting a file of the same name?

Why would you think that's necessary?  Please see the recommendations
for archive scripts, which tell you to simply refuse to copy in such a
case.

            regards, tom lane

pgsql-admin by date:

Previous
From: "L'Huillier, Jeff"
Date:
Subject: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
Next
From: "Kevin Grittner"
Date:
Subject: Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename