OSDN Git Service

Fix all the server-side SIGQUIT handlers (grumble ... why so many identical
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 May 2009 15:56:39 +0000 (15:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 May 2009 15:56:39 +0000 (15:56 +0000)
commit4616d57dad1d082d488e7827ffe116755166a198
tree6f7567502eb5e56dd9e969e546ce82db7df4d68d
parentabc924519a0bc7886a4b8507b03c55b2b55b2c18
Fix all the server-side SIGQUIT handlers (grumble ... why so many identical
copies?) to ensure they really don't run proc_exit/shmem_exit callbacks,
as was intended.  I broke this behavior recently by installing atexit
callbacks without thinking about the one case where we truly don't want
to run those callback functions.  Noted in an example from Dave Page.
src/backend/access/transam/xlog.c
src/backend/postmaster/autovacuum.c
src/backend/postmaster/bgwriter.c
src/backend/postmaster/walwriter.c
src/backend/storage/ipc/ipc.c
src/backend/tcop/postgres.c