| От | Christoph Moench-Tegeder |
|---|---|
| Тема | Re: detecting binary backup in progress |
| Дата | |
| Msg-id | 20130601094339.GA2064@elch.exwg.net обсуждение |
| Ответ на | detecting binary backup in progress (Joe Conway <mail@joeconway.com>) |
| Ответы |
Re: detecting binary backup in progress
|
| Список | pgsql-hackers |
## Joe Conway (mail@joeconway.com): > However there is a period of time after pg_start_backup() is first > executed to when it completes, during which backup_label file does not > exist yet, but the backup has essentially been started. Is there any > way to detect this state? When I did some research on the very same question just a few weeks ago, I settled for external locks (lockfile, pg_advisory_lock(), ..., depending on your exact situation) around the backup-taking code. Regards, Christoph -- Spare Space
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера