Re: pg_ctl default shutdown mode

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl default shutdown mode
Date: 2001-02-10 01:01:05
Message-ID: Pine.LNX.4.30.0102100159230.1286-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-10 01:45:48 Re: [HACKERS] Open 7.1 items
Previous Message Tom Lane 2001-02-10 00:20:43 Re: 6.2 protocol