Ensure walsenders can be SIGTERMed while in non-walsender code
authorMagnus Hagander <magnus@hagander.net>
Thu, 6 Oct 2011 19:43:14 +0000 (21:43 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 6 Oct 2011 19:45:20 +0000 (21:45 +0200)
commit5df22bba644d1c083118942292097ba2395fad15
tree13cf36919097ede25c10ed0dbc56170bfaf096fc
parent5308abfd89b080399f4050f720ffb8824c682e59
Ensure walsenders can be SIGTERMed while in non-walsender code

In oder to exit on SIGTERM when in non-walsender code,
such as do_pg_stop_backup(), we need to set the interrupt
variables that are used there, and not just the walsender
local ones.
src/backend/replication/walsender.c