Kill pg_basebackup background process when exiting

Magnus Hagander <magnus@hagander.net>

Commit: 63ab2befe0d2332a5571f46c1a2c0af9447c6a4b
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-02-12T17:45:18Z
Releases: 9.4.0
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.

Files