Re: [HACKERS] pid file for postmaster?

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tim Holloway <mtsinc@southeast.net>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>, tgl@sss.pgh.pa.us, pgsql-hackers@hub.org
Date: 1999-11-25T18:35:14Z
Lists: pgsql-hackers
> Red Hat ALREADY creates a file "postmaster.pid" in the /var/lock directory.
> I don't know how far the /var/lock convention goes across different platforms,
> but I recommend using IT or its equivalent, I still have scars from my OS/2
> days where every product put its goodies in a different place and you had to
> guess where, how, and in what format.

Problem with that it is going to require root permission to create that
file or directory if it doesn't exist.  I think we have to put it in the
pgsql/data directory.  Sorry.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026