Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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. +

In response to

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group