pg_ctl default shutdown mode - Mailing list pgsql-hackers

From Peter Eisentraut
Subject pg_ctl default shutdown mode
Date
Msg-id Pine.LNX.4.30.0102081739080.1362-100000@peter.localdomain
Whole thread Raw
Responses Re: pg_ctl default shutdown mode  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Now that waiting for shutdown is the default, it seems that the default
shutdown mode should also be one where there's a high chance of the
shutdown actually happening.  As it stands, if there are connected
clients, pg_ctl will wait for 60 or so seconds before proclaiming that the
postmaster won't shut down.  This is not intuitive.

The signal is still delivered, though, so the postmaster may silently shut
down at any later time.  This can cause confusion.

While the "smart" shutdown is a cute feature, a *stop* script should
really stop the thing by default and allow the unusual behaviour to be
selected with an option.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Ned Lilly
Date:
Subject: Re: [GENERAL] Re: full text searching
Next
From: Lamar Owen
Date:
Subject: Re: Syslog and pg_options (for RPMs)