Re: Small race in pg_xlogdump --follow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Small race in pg_xlogdump --follow
Дата
Msg-id 29847.1474897458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Small race in pg_xlogdump --follow  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Small race in pg_xlogdump --follow  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Attached patch puts a retry loop around opening the file that retries for 5
> seconds (which is excessive, but should be safe) in case the file is
> missing (and still fails out for other error messages of course).

> Comments?

The patch assumes that pg_usleep won't change errno, an assumption
I have little faith in.
        regards, tom lane



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Small race in pg_xlogdump --follow
Следующее
От: Jeevan Ladhe
Дата:
Сообщение: Re: pgbench more operators & functions