Re: pg_ctl stop -m fast after -m smart - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: pg_ctl stop -m fast after -m smart
Date
Msg-id 3f0b79eb0908062043q38699e18k3d06783fd2e8231f@mail.gmail.com
Whole thread Raw
In response to pg_ctl stop -m fast after -m smart  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: pg_ctl stop -m fast after -m smart  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Re: pg_ctl stop -m fast after -m smart  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On Fri, Aug 7, 2009 at 10:31 AM, Itagaki
Takahiro<itagaki.takahiro@oss.ntt.co.jp> wrote:
>
> "pg_ctl stop -m smart" will wait for all connections are disconnected and
> "pg_ctl stop -m fast" will disconnect all connections forcibly.
> But "fast" after "smart" also wait for disconnections.
>
> Can we change the behavior that "fast" overwrites "smart" mode?

+1. This behavior was supported in 8.2 or before, but broken in 8.3.
Here is the patch. This should be backported to 8.3 and 8.4.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: [PATCH] 2PC state files on shared memory
Next
From: Robert Haas
Date:
Subject: Re: Filtering dictionaries support and unaccent dictionary