| От | Peter Eisentraut |
|---|---|
| Тема | Re: obsolete pg_receivexlog note? |
| Дата | |
| Msg-id | 545A99AA.5020107@gmx.net обсуждение исходный текст |
| Ответ на | obsolete pg_receivexlog note? (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: obsolete pg_receivexlog note?
|
| Список | pgsql-docs |
On 10/20/14 2:07 PM, Peter Eisentraut wrote: > The reference page for pg_receivexlog > (http://www.postgresql.org/docs/9.4/static/app-pgreceivexlog.html) has > this note: > > """ > When using pg_receivexlog instead of archive_command, the server will > continue to recycle transaction log files even if the backups are not > properly archived, since there is no command that fails. This can be > worked around by having an archive_command that fails when the file has > not been properly archived yet, for example: > > archive_command = 'sleep 5 && test -f /mnt/server/archivedir/%f' > The initial timeout is necessary because pg_receivexlog works using > asynchronous replication and can therefore be slightly behind the master. > """ > > ISTM that this should be replaced with something to the effect of, if > you are using pg_receivexlog instead of archive_command, you had better > use slots. Here is a patch.
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера