[EMAIL PROTECTED] (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) writes:
> Ideally, the locks should be in /var/lock/pgsql and the socket
> somewhere else - like /var/lib/pgsql (our mysql packages do this, and
> both of them are specified in /etc/my.cnf).
That is not "ideal", in fact it would break one of the specific features
that UUNET asked us for. Namely, to be able to have noninterfering
sets of socket files in different explicitly-specified directories.
If the lock files don't live where the sockets do, then this doesn't work.
> Explictly, yes. However, FHS says /tmp is for temporary files. Also,
> it says programs shouldn't count on data to be stored there between
> invocations. 10+ days isn't temporary...
We aren't counting on data to be stored in /tmp "between invocations".
The socket and lock file live only as long as the postmaster runs.
regards, tom lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Peter Eisentraut
- Re: [HACKERS] Re: Sure enough, the lock file is gone Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is gone Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Bruce Momjian
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Trond Eivind Glomsr�d
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone Trond Eivind Glomsr�d
- Re: [HACKERS] Re: Sure enough, the lock file is gone Oliver Elphick
- Re: [HACKERS] Re: Sure enough, the lock file is gone Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is gone Trond Eivind Glomsr�d
- Re: [HACKERS] Re: Sure enough, the lock file is gone Tom Lane
- Re: [HACKERS] Re: Sure enough, the lock file is gone The Hermit Hacker
- Re: [HACKERS] Re: Sure enough, the lock file is gone Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock file is gone Bruce Momjian
