| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: pg_ctl stop -m fast after -m smart |
| Date: | 2009-08-07 03:43:18 |
| Message-ID: | 3f0b79eb0908062043q38699e18k3d06783fd2e8231f@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
On Fri, Aug 7, 2009 at 10:31 AM, Itagaki
Takahiro<itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)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 | Content-Type | Size |
|---|---|---|
| fast_shutdown.patch | application/octet-stream | 605 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2009-08-07 03:46:57 | Re: Filtering dictionaries support and unaccent dictionary |
| Previous Message | Michael Paquier | 2009-08-07 03:31:12 | [PATCH] 2PC state files on shared memory |