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

From Itagaki Takahiro
Subject pg_ctl stop -m fast after -m smart
Date
Msg-id 20090807102027.9792.52131E4D@oss.ntt.co.jp
Whole thread Raw
Responses Re: pg_ctl stop -m fast after -m smart
List pgsql-hackers
"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?
I'd like to achieve the following sequence:
$ pg_ctl stop
$ (found some connections remain)
$ [Ctrl+C]
$ pg_ctl stop -m fast
$ (force disconnect and stop server safely)

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Alpha Releases: Docs?
Next
From: Robert Haas
Date:
Subject: Re: machine-readable explain output v4