]> granicus.if.org Git - postgresql/commit
Kill pg_basebackup background process when exiting
authorMagnus Hagander <magnus@hagander.net>
Sun, 9 Feb 2014 12:10:14 +0000 (13:10 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 12 Feb 2014 13:51:00 +0000 (14:51 +0100)
commit0ae288d2dd7c0b6725feebbcf799a4d65e057d05
treed4fb4eb1426d63481e943558d9ded2bf28ad010c
parentdd560510400e4cf545ac92a5d0270dde2e45c5dd
Kill pg_basebackup background process when exiting

If an error occurs in the foreground (backup) process of pg_basebackup,
and we exit in a controlled way, the background process (streaming
xlog process) would stay around and keep streaming.
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/streamutil.h