pgsql: Fix a couple of bugs in pg_recvlogical output to stdout.
pgsql: Fix a couple of bugs in pg_recvlogical output to stdout.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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(-)