Re: [HACKERS] pid file for postmaster?

From: Tim Holloway <mtsinc(at)southeast(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] pid file for postmaster?
Date: 1999-11-25 21:51:58
Message-ID: 383DAF7E.592909@southeast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Just playing Devil's Advocate.

Having to have root persmission to set up a system is more the rule than the exception,
though. Under Windows NT, for example, you can't create the registry keys except as
an administrator, even though unprivileged users will be setting the values.
Considering what having major DBMS installed could do to the system load, one could
even argue that ONLY an administrator should be allowed to install it!

But that's another issue entirely.....

Bruce Momjian wrote:
>
> > 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Mascari 1999-11-26 00:25:11 Re: [GENERAL] drop/rename table and transactions
Previous Message Jaco de Groot 1999-11-25 20:36:01 drop/rename table and transactions