pgsql: Retry opening new segments in pg_xlogdump --folllow

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Retry opening new segments in pg_xlogdump --folllow
Дата
Msg-id E1bpu7k-00029f-Qt@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Retry opening new segments in pg_xlogdump --folllow

There is a small window between when the server closes out the existing
segment and the new one is created. Put a loop around the open call in
this case to make sure we wait for the new file to actually appear.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d8b4c3490c8ada0e39727475328a67c2e510f2f2

Modified Files
--------------
src/bin/pg_xlogdump/pg_xlogdump.c | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Retry opening new segments in pg_xlogdump --folllow
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Retry opening new segments in pg_xlogdump --folllow