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

From: Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu>
To: scrappy(at)hub(dot)org
Cc: jamesh(at)interpath(dot)com, goran(at)bildbasen(dot)se, maillist(at)candle(dot)pha(dot)pa(dot)us, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Date: 1998-01-29 15:06:57
Message-ID: 199801291506.IAA24989@trillium.nmsu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

No. Make /var/run writable by some group (e.g., group pidlog) and put
postgres (and other things like root or daemon or ..., whatever needs
to log pid files) in that group.

/var/run really is where a pid file should be. I submitted a patch
that would do this some time ago. I'll resend it if there is
interest.

Cheers,
Brook

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Darren King 1998-01-29 15:38:05 Error in nodes/parse_node.h
Previous Message Alexander V. Goncharuk 1998-01-29 14:57:52 (no subject)