pgsql: Fix a couple of bugs in pg_recvlogical output to stdout. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix a couple of bugs in pg_recvlogical output to stdout.
Date
Msg-id E1Wkypj-0007dg-Gt@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix a couple of bugs in pg_recvlogical output to stdout.

Don't close stdout on SIGHUP. Also, when a SIGHUP is received, close the
file immediately, rather than only after receiving some more data from
the server. Rename a variable, to avoid mentally dealing with double
negatives (not unsynced means synced).

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/00c26b6a60e7ceed29ddae34b0a69fe945c08f81

Modified Files
--------------
src/bin/pg_basebackup/pg_recvlogical.c |   47 +++++++++++++++-----------------
1 file changed, 22 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Handle duplicate XIDs in txid_snapshot.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix whitespace