Re: F_SETLK is looking worse and worse...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: F_SETLK is looking worse and worse...
Дата
Msg-id 27454.975513336@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: F_SETLK is looking worse and worse...  (Matthew Kirkwood <matthew@hairy.beasts.org>)
Список 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 по дате отправления:

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: How to use nested select statements
Следующее
От: Tom Lane
Дата:
Сообщение: Re: AW: F_SETLK is looking worse and worse...