Re: problem with kill script - Mailing list pgsql-bugs

From Tom Lane
Subject Re: problem with kill script
Date
Msg-id 10140.1144786261@sss.pgh.pa.us
Whole thread Raw
In response to problem with kill script  (julien <julien@nura.no-ip.com>)
Responses Re: problem with kill script  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
julien <julien@nura.no-ip.com> writes:
> The INSTALL file mention the command "kill `cat
> /usr/local/pgsql/data/postmaster.pid`" but the pid file contain the pid
> but not only, it also contain data directory and some numbers (memory
> usage ?, database characteristic ?)

Hm, I wonder why this documentation isn't recommending "pg_ctl stop"
instead.  runtime.sgml gets it right:

<screen>
$ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput>
</screen>

but the text in installation.sgml seems much older.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2387: Incorrect sorting of timestamp with time zone
Next
From: Tom Lane
Date:
Subject: Re: BUG #2386: pg_restore doesn't restore large objects