Re: [HACKERS] locking change help - Mailing list pgsql-hackers

From Mattias Kregert
Subject Re: [HACKERS] locking change help
Date
Msg-id 34C87020.AE59A8D@algonet.se
Whole thread Raw
In response to locking change help  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] locking change help  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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?

/* m */

pgsql-hackers by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] LOCK command
Next
From: Andrew Martin
Date:
Subject: Re: [HACKERS] Re: [PORTS] Important Announcement