Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] please?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Theo Kramer <theo(at)flame(dot)co(dot)za>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] please?
Date: 1999-05-31 19:10:55
Message-ID: 199905311910.PAA28600@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-hackers by date

Next:From: Trever AdamsDate: 1999-05-31 19:23:03
Subject: Re: [HACKERS] Backend sent 0x45 type while idle
Previous:From: Pablo FunesDate: 1999-05-31 19:05:53
Subject: Re: [HACKERS] please?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group