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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
Дата
Msg-id 22265.1334153321@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename  ("L'Huillier, Jeff" <Jeff.LHuillier@ONSTAR.com>)
Ответы Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
Список 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 по дате отправления:

Предыдущее
От: "L'Huillier, Jeff"
Дата:
Сообщение: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: 9.0.4/7 WAL Archiving: archive_command add date-time to cp of filename