Re: F_SETLK is looking worse and worse... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: F_SETLK is looking worse and worse...
Date
Msg-id 27454.975513336@sss.pgh.pa.us
Whole thread Raw
In response to Re: F_SETLK is looking worse and worse...  (Matthew Kirkwood <matthew@hairy.beasts.org>)
List pgsql-hackers
Matthew Kirkwood <matthew@hairy.beasts.org> writes:
> Surely the lock file could easily go somewhere other than
> /tmp, since it won't be breaking existing setups?

Such as where?

Given the fact that the recent UUNET patch allows the DBA to put the
socket files anywhere, it seems simplest to say that the lockfiles go
in the same directory as the socket files.  Anything else is going to
be mighty confusing and probably unworkable.  For example, it's not
a good idea to say we'll use a fixed directory for lockfiles regardless
of where the socket file is --- that would prevent people from starting
multiple postmasters with the same logical port number and different
socket directories, something that's really perfectly reasonable (at
least in UUNET's view of the world ;-)).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: How to use nested select statements
Next
From: Tom Lane
Date:
Subject: Re: AW: F_SETLK is looking worse and worse...