Skip site navigation (1) Skip section navigation (2)

pgsql-server: Fix oversight: in case where SIGTERM is received while

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Fix oversight: in case where SIGTERM is received while
Date: 2004-07-27 01:46:06
Message-ID: 20040727014606.A8A34D1B183@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql-server/src/backend/postmaster:
        postmaster.c (r1.415 -> r1.416)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/postmaster/postmaster.c.diff?r1=1.415&r2=1.416)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-07-27 03:28:09
Subject: pgsql-server: Update tuple header size.
Previous:From: Tom LaneDate: 2004-07-26 18:53:39
Subject: pgsql-server: Add some more logging to simplify diagnosis of problems in

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group