From 16282ae688de2b320cf176e9be8a89e4dfc60698 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 27 May 2012 11:05:24 +0200 Subject: Make pg_recievexlog by default loop on connection failures Avoids the need for an external script in the most common scenario. Behavior can be overridden using the -n/--noloop commandline parameter. --- doc/src/sgml/ref/pg_receivexlog.sgml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml index 8e5fca40228..f0a7763bdfc 100644 --- a/doc/src/sgml/ref/pg_receivexlog.sgml +++ b/doc/src/sgml/ref/pg_receivexlog.sgml @@ -58,6 +58,14 @@ PostgreSQL documentation configured with set high enough to leave at least one session available for the stream. + + + If the connection is lost, or if it cannot be initially established, + with a non-fatal error, pg_receivexlog will + retry the connection indefinitely, and reestablish streaming as soon + as possible. To avoid this behavior, use the -n + parameter. + @@ -86,6 +94,17 @@ PostgreSQL documentation The following command-line options control the running of the program. + + + + + + Don't loop on connection errors. Instead, exit right away with + an error. + + + + -- cgit v1.2.3