pgsql: Retry opening new segments in pg_xlogdump --folllow

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Retry opening new segments in pg_xlogdump --folllow
Дата
Msg-id E1bpu7k-00029h-RC@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_4_STABLE

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

Modified Files
--------------
contrib/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