Restructure backend SIGINT/SIGTERM handling so that 'die' interrupts

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 36839c192706f5abd75bdcb02b6a7cace14ce108
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-01-14T05:08:17Z
Releases: 7.1.1
Restructure backend SIGINT/SIGTERM handling so that 'die' interrupts
are treated more like 'cancel' interrupts: the signal handler sets a
flag that is examined at well-defined spots, rather than trying to cope
with an interrupt that might happen anywhere.  See pghackers discussion
of 1/12/01.

Files