Re: [HACKERS] please? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] please?
Date
Msg-id 199905311910.PAA28600@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] please?  (Theo Kramer <theo@flame.co.za>)
Responses Re: [HACKERS] please?  (Pablo Funes <pablo@cs.brandeis.edu>)
List pgsql-hackers
> Bruce Momjian wrote:
> > 
> > > Bruce Momjian wrote:
> > > >
> > > > I don't know of any SQL databases that allow non-blocking lock requests.
> > > >
> > >
> > > Oracle OCI has oopt() and Informix Online has dirty read that do the trick for
> > > me.
> > > --------
> > 
> > Please give me more information.  How does dirty read fix the problem?
> 
> It allows me to read uncommited records without blocking.

Yes, but that does not solve his problem.  He wants a single lock, and
wants to test the lock, and immediately return if the lock fails.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Pablo Funes
Date:
Subject: Re: [HACKERS] please?
Next
From: Trever Adams
Date:
Subject: Re: [HACKERS] Backend sent 0x45 type while idle