Re: problem with kill script

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: julien <julien(at)nura(dot)no-ip(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: problem with kill script
Date: 2006-04-18 22:51:43
Message-ID: 200604182251.k3IMph206385@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> julien <julien(at)nura(dot)no-ip(dot)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.

The kill mention was below an item mentioning pg_ctl. The paragraph was
in there for very old releases of PostgreSQL, pre-7.0. I have removed
it with this patch.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
unknown_filename text/plain 884 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Yusuf Siddiqui 2006-04-18 23:34:53 BUG #2400: '' considered invalid UTF-8 character
Previous Message Tom Lane 2006-04-18 19:01:05 Re: [Win32] Problem with rename()