Thread: pgsql: Retry opening new segments in pg_xlogdump --folllow

pgsql: Retry opening new segments in pg_xlogdump --folllow

From
Magnus Hagander
Date:
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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4bff35cca56ce665422e69c47a931793eb6e9d04

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