"Josh Berkus" <josh(at)agliodbs(dot)com> writes:
> So ... if I had a PSQL terminal session open on a remote client, and
> did:
> pg_ctl -m fast stop
> pg_ctl start
> pg_ctl -m fast stop
> ... the second stop would fail? Am I understanding correctly?
> Because that's the behavior I am observing.
No, I'd not expect the second stop to fail; and I can't reproduce any
such problem here.
The known bug might cause the *first* stop to fail; it basically
triggers if you have a client that sits idle for a long time (while
other sessions are doing work) and still remains idle after the shutdown
command comes.
regards, tom lane