>>>>Do a shutdown -h on a live database machine with pg. It will
>>>>gracefully shut itself down.
[sNip]
>> When I tested this on PostgreSQL on Novell NetWare 6 it shut down
>> gracefully. I don't see why this would be different on other Operating
>> Systems since the code base is essentially the same (isn't it?).
>
> No it's not. Don't confuse the PostgreSQL code base with the operating
> system it's running on.
[sNip]
On NetWare if I type "Unload Postmaster.NLM" then PostgreSQL's
shutdown functions are called and PostgreSQL proceeds with a graceful
shutdown.
I just assumed that all Operating Systems that PosgreSQL has been
ported to have this type of call-back API functionality built-in for
shutdown signals.
Now isn't this a part of the PostgreSQL code base to provide the
graceful shutdown functionality when the OS attempts to shut it down?
--
Randolf Richardson - rr@8x.ca
Inter-Corporate Computer & Network Services, Inc.
Vancouver, British Columbia, Canada
http://www.8x.ca/
This message originated from within a secure, reliable,
high-performance network ... a Novell NetWare network.