pgsql: Retry opening new segments in pg_xlogdump --folllow - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Retry opening new segments in pg_xlogdump --folllow
Date
Msg-id E1bpu7k-00029f-Qt@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Retry opening new segments in pg_xlogdump --folllow
Next
From: Magnus Hagander
Date:
Subject: pgsql: Retry opening new segments in pg_xlogdump --folllow