Re: [HACKERS] locking change help
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: matti@algonet.se (Mattias Kregert)
Cc: hackers@postgreSQL.org
Date: 1998-01-23T14:59:47Z
Lists: pgsql-hackers
> > Bruce Momjian wrote: > > > > I am trying to change the lock manager so read locks will not be granted > > if there is a write-lock waiting for a lock. The following patch helps, > > but is incomplete. Can someone figure out the right fix? I tried > > putting this code inside LockResolveConflicts(), but that didn't work > > either. > > Is this to help writers from starving? Yes. -- Bruce Momjian maillist@candle.pha.pa.us