----- Original Message -----
From: Tatsuo Ishii <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, March 18, 2000 1:12 PM
Subject: Re: [GENERAL] what is the most appropriate way to shutdown the
postmaster?
<snip>
> In 7.0 there will be a tool called "pg_ctl" that controls
> starting/restarting/shutting down postmaster. Moreover there will be
> "smart shutdown" mode in that postmaster waits untill all backends get
> logged off.
Will postmaster also refuse to take connections once shutdown begins, and
will it be possible to set a cut-off period, a la shutdown, after which all
backends will be killed, e.g.
pg_ctl --shutdown 10 (or whatever)
++++ postmaster stops accepting new connections. It has (say) 10 current
connections
++++ in the next 10 minutes 8 connections log off.
++++ after 10 minutes, postmaster forcibly kills off the remaining
processes.
++++ and exits.
Yours,
Moray