Re: [HACKERS] pg_ctl stop -m fast after -m smart

2009-08-07 Thread Tom Lane
Fujii Masao writes: > Takahiro wrote: >> 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. I think this was my fault :-(. Thanks for the fix.

Re: [HACKERS] pg_ctl stop -m fast after -m smart

2009-08-06 Thread Heikki Linnakangas
Fujii Masao wrote: > On Fri, Aug 7, 2009 at 10:31 AM, Itagaki > Takahiro 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 chan

Re: [HACKERS] pg_ctl stop -m fast after -m smart

2009-08-06 Thread Fujii Masao
Hi, On Fri, Aug 7, 2009 at 10:31 AM, Itagaki Takahiro 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

[HACKERS] pg_ctl stop -m fast after -m smart

2009-08-06 Thread Itagaki Takahiro
"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 sequen