pg_ctl default shutdown mode

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2001-02-08 19:17:26 Re: Syslog and pg_options (for RPMs)
Previous Message Josh Berkus 2001-02-08 16:45:23 Re: PL/PGSQL function with parameters