I should hope so. That's what happens when your system shuts down...
Here's what my postgresql script does when passed 'stop':
killproc postmaster
sleep 2
rm -f /var/run/postmaster.pid
rm -f /var/lock/subsys/postgresql
Kills the postmaster, and cleans up the mess.
----- Original Message -----
From: "Adam Lang" <aalang@rutgersinsurance.com>
To: "PGSQL General" <pgsql-general@postgresql.org>
Sent: Tuesday, August 29, 2000 1:33 PM
Subject: [GENERAL] Shutting down pgsql
> Is it safe to shutdown the server by typing /etc/rc.d/init.d/postgresql
stop
> ? I read the documentation and it is refering to kill the postmaster.pid.
>
> Adam Lang
> Systems Engineer
> Rutgers Casualty Insurance Company
>