On Fri, May 09, 2003 at 08:25:53 -0400,
dlangschied <dlangschied(at)ameritech(dot)net> wrote:
> Hi all!
> I would like to automate the shutdown of my postgres database, just as I do
> with my startup. I have looked through the docs and I can't find anything
> that addresses this issue. I am sure that there are many out there who
> don't manually shutdwon the database prior to a system shutdown/reboot.
> Please advise.
> Sincerely,
Probably the init scripts for your system already do this for you.
If you system displays a message for each service being shutdown
during a shutdown you should be able to watch and see if postgres
is shutdown as part of that process.