]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix oversight: in case where SIGTERM is received while there are
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Jul 2004 01:46:03 +0000 (01:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Jul 2004 01:46:03 +0000 (01:46 +0000)
commit0177f430701744432e4b5c4e145cd669fd3054cf
tree2bb78e43374c43eebd8f39ba422a1af512234bfc
parent23671f5a0ee739bd1fd805453487515d837c02d1
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.
src/backend/postmaster/postmaster.c