Kill pg_basebackup background process when exiting

Magnus Hagander <magnus@hagander.net>

Commit: c90204c605b7e12858e52b6af6efdbf3cb1c1bc4
Author: Magnus Hagander <magnus@hagander.net>
Date: 2014-02-12T17:46:04Z
Releases: 9.3.3
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