Re: We should Axe /contrib/start-scripts

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: We should Axe /contrib/start-scripts
Дата
Msg-id 4A95DA56.9090100@dunslane.net
обсуждение исходный текст
Ответ на Re: We should Axe /contrib/start-scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: We should Axe /contrib/start-scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
>
> I was actually having second thoughts about the idea of using file
> locking.  The only environment in which I've heard of file locks not
> being trustworthy is NFS, and if you're running a DB on NFS you've
> probably got worse problems than this one.  Notably, if you mistakenly
> try to start postmasters on two different machines against the same
> NFS-mounted directory, the PID-based interlock will certainly fail, while
> file locking might save you.  So maybe we should take another look at
> that.  Has anyone heard of other contexts in which file locks don't
> work?  Has Windows got them?
>
>
>   

Yes. But they are mandatory rather than advisory, I believe.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: We should Axe /contrib/start-scripts
Следующее
От: Tom Lane
Дата:
Сообщение: Re: We should Axe /contrib/start-scripts