Re: Found this in the server log on MAC OSX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sean Shanny <shannyconsulting(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Subject: Re: Found this in the server log on MAC OSX
Date: 2004-02-24 19:12:29
Message-ID: 23832.1077649949@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sean Shanny <shannyconsulting(at)earthlink(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Baughman 2004-02-24 19:26:34 Sequence Permissions.
Previous Message Joe Conway 2004-02-24 19:00:56 Re: Rows to columns