Re: postgresql.conf archive_command example

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: postgresql.conf archive_command example
Дата
Msg-id CAHGQGwFj8cw0csEs6-3VwQE_vm7gyomZJNQYkHAsZj6PCQFx4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgresql.conf archive_command example  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: postgresql.conf archive_command example
Список pgsql-hackers
On Sat, Sep 3, 2011 at 5:10 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
> (2)  It should copy, not move, with protection against overwriting
> an existing file.

I agree that basically archive_command should not overwrite an existing file.
But if the size of existing file is less than 16MB, it should do that.
Otherwise,
that WAL file would be lost forever.

I have another feature request;
(5) Maybe not in the initial version, but eventually it might be
nice to support calling posix_fadvise(POSIX_FADV_DONTNEED)
after copying a WAL file.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Cascaded standby message
Следующее
От: Andy Colson
Дата:
Сообщение: REVIEW Single pass vacuum - take 2