Re: Found this in the server log on MAC OSX - Mailing list pgsql-general

From Tom Lane
Subject Re: Found this in the server log on MAC OSX
Date
Msg-id 23832.1077649949@sss.pgh.pa.us
Whole thread Raw
In response to Re: Found this in the server log on MAC OSX  (Sean Shanny <shannyconsulting@earthlink.net>)
Responses Re: Found this in the server log on MAC OSX  (David Garamond <lists@zara.6.isreserved.com>)
List pgsql-general
Sean Shanny <shannyconsulting@earthlink.net> 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

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: Rows to columns
Next
From: "Daniel Baughman"
Date:
Subject: Sequence Permissions.