Re: On file locking - Mailing list pgsql-hackers

From Kevin Brown
Subject Re: On file locking
Date
Msg-id 20030201171145.GQ12957@filer
Whole thread Raw
In response to Re: On file locking  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Greg Copeland
Date:
Subject: Re: [mail] Re: Windows Build System
Next
From: Kevin Brown
Date:
Subject: Re: sync()