Re: [HACKERS] postmaster crash and .s.pgsql file - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: [HACKERS] postmaster crash and .s.pgsql file
Date
Msg-id Pine.NEB.3.95.980129080456.7021C-100000@hub.org
Whole thread Raw
In response to Re: [HACKERS] postmaster crash and .s.pgsql file  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
Responses Re: [HACKERS] postmaster crash and .s.pgsql file
List pgsql-hackers
On Thu, 29 Jan 1998, Andrew Martin wrote:

> >    > I would opt for /var/run to store the pid files and have the name set to
> >
> >        That would assume that postmaster runs as root, which is not
> >    allowed...has to be in /tmp somewhere
> >
> > Maybe both should be under /usr/local/pgsql
> I assume you mean the root of the installation rather than specifically
> /usr/local/pgsql.
>
> > somewhere, so they will not be removed by any
> > '/tmp'-clean-up-scripts.
> >
> In $PGDATA would seem as good as anywhere (maybe $PGDATA/.run or some such)
>
> /usr/local is mounted r/o on my system - $PGDATA lives elsewhere and is
> writable.

    $PGDATA is created 700...general users need to be able to read the
directory in order to connect to the socket, so we'd have to lax up
security in order to accomplish this...



pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] time stamps in logging