Re: pg_ctl default shutdown mode - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_ctl default shutdown mode
Date
Msg-id Pine.LNX.4.30.0102100159230.1286-100000@peter.localdomain
Whole thread Raw
In response to pg_ctl default shutdown mode  (Peter Eisentraut <peter_e@gmx.net>)
Responses RE: Re: pg_ctl default shutdown mode
List pgsql-hackers
Since there were no comments, I'm going to make fast shutdown the default.

I wrote:

> 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: Tom Lane
Date:
Subject: Re: 6.2 protocol
Next
From: Bruce Momjian
Date:
Subject: Re: Open 7.1 items