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).
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/pg_recvlogical.c | modified | +22 −25 |