Re: [HACKERS] pid file for postmaster? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] pid file for postmaster?
Date
Msg-id 199911251835.NAA10783@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] pid file for postmaster?  (Tim Holloway <mtsinc@southeast.net>)
List 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Vacuum
Next
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] pid file for postmaster?