"L'Huillier, Jeff" <Jeff(dot)LHuillier(at)ONSTAR(dot)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