"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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers