Re: On file locking

Поиск
Список
Период
Сортировка
От Kevin Brown
Тема Re: On file locking
Дата
Msg-id 20030201171145.GQ12957@filer
обсуждение исходный текст
Ответ на Re: On file locking  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Kevin Brown <kevin@sysexperts.com> writes:
> > So if we wanted to make use of mandatory locks, we'd have to refrain
> > from using flock().
> 
> We have no need for mandatory locks; the advisory style will do fine.
> This is true because we have no desire to interoperate with any
> non-Postgres code ... everyone else is supposed to stay the heck out of
> $PGDATA.

True.  But, of course, mandatory locks could be used to *make*
everyone else stay out of $PGDATA.  :-)


-- 
Kevin Brown                          kevin@sysexperts.com


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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Re: [mail] Re: Windows Build System
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: sync()