pgsql: Ensure walsenders can be SIGTERMed while in non-walsender code

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ensure walsenders can be SIGTERMed while in non-walsender code
Date: 2011-10-06 19:46:58
Message-ID: E1RBtuE-0001Ec-OG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7aeff9f4a4e57dca5727828bf95f12cf63003270

Modified Files
--------------
src/backend/replication/walsender.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-10-06 23:32:16 pgsql: Move pg_upgrade doc mention of the port numbers to the same plac
Previous Message David E. Wheeler 2011-10-06 16:19:23 Re: [COMMITTERS] pgsql: Force strings passed to and from plperl to be in UTF8 encoding.