From: Tom Lane <tgl@sss.pgh.pa.us>
To: L'Huillier, Jeff <Jeff.LHuillier@ONSTAR.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
Date: Wed, 11 Apr 2012 10:08:41 -0400
Message-ID: <22265.1334153321@sss.pgh.pa.us> (raw)
In-Reply-To: <7CF5C5C9FE3CE140AD240A391A7681FBF5CC0F@USRN4EX0ONS06.onstar.ad.gm.com>
References: <7CF5C5C9FE3CE140AD240A391A7681FBF5CC0F@USRN4EX0ONS06.onstar.ad.gm.com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Jeff.LHuillier@ONSTAR.com
Subject: Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
In-Reply-To: <22265.1334153321@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox