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

Re: [HACKERS] postmaster crash and .s.pgsql file

From: Andrew Martin <martin(at)biochemistry(dot)ucl(dot)ac(dot)uk>
To: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Date: 1998-01-29 10:49:50
Message-ID: 199801291049.KAA15261@bsmir06.biochem.ucl.ac.uk (view raw or flat)
Thread:
Lists: pgsql-hackers
>    > 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.

Andrew
----------------------------------------------------------------------------
Dr. Andrew C.R. Martin                             University College London
EMAIL: (Work) martin(at)biochem(dot)ucl(dot)ac(dot)uk    (Home) andrew(at)stagleys(dot)demon(dot)co(dot)uk
URL:   http://www.biochem.ucl.ac.uk/~martin
Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775

Responses

pgsql-hackers by date

Next:From: The Hermit HackerDate: 1998-01-29 13:03:45
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Previous:From: Andrew MartinDate: 1998-01-29 10:43:34
Subject: Re: [HACKERS] No: implied sort with group by

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