Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> When I was watching it in the Task Manager, it was observable that the
> postmaster exited before some of the other backend processes, by up to a
> second or two.
The stats collector processes normally don't shut down until they
observe postmaster exit (and I think in CVS tip there's an
up-to-one-second delay before they'll even look). Everything else
should be gone first though.
regards, tom lane