Sean Shanny <[EMAIL PROTECTED]> writes: > StopService() > { > ConsoleMessage "Stopping PostgreSQL database services" > /usr/local/pgsql/bin/pg_ctl stop -D /usr/local/pgsql/data > x=`/bin/ps axc | /usr/bin/grep postgres` > if /bin/test "$x" > then > set $x > kill -9 $x > fi > }
Gack. Whoever wrote this should be shot. Take out everything after the "pg_ctl stop" line. You might want to add "-m immediate" to the pg_ctl command as a less dangerous way of encouraging a fast shutdown... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]