diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-27 01:46:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-27 01:46:03 +0000 |
commit | 0177f430701744432e4b5c4e145cd669fd3054cf (patch) | |
tree | 2bb78e43374c43eebd8f39ba422a1af512234bfc /src/backend/tcop/postgres.c | |
parent | 23671f5a0ee739bd1fd805453487515d837c02d1 (diff) | |
download | postgresql-0177f430701744432e4b5c4e145cd669fd3054cf.tar.gz postgresql-0177f430701744432e4b5c4e145cd669fd3054cf.zip |
Fix oversight: in case where SIGTERM is received while there are
live backends, the archiver and stats processes never got sent a
kill signal. They'd eventually exit on their own, but not for awhile,
which is a bit annoying when you are trying to replace the executable
file on a platform that doesn't allow removal of busy executables.
Also, tweak main loop logic so that we will perform the background
tasks after select() returns EINTR.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions