Re: [HACKERS] [COMMITTERS] pgsql: Implement sharable row-level locks, and use them for foreign key

2005-04-28 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > One point I didn't quite understand was the business about XLogging > heap_lock_tuple. I had to reread your mail to -hackers on this issue > several times to get it (as you can see I don't fully grok the WAL > rules). Now, I believe that heap_mark4upda

Re: [HACKERS] [COMMITTERS] pgsql: Implement sharable row-level locks, and use them for foreign key

2005-04-28 Thread Alvaro Herrera
On Thu, Apr 28, 2005 at 06:47:18PM -0300, Tom Lane wrote: > Implement sharable row-level locks, and use them for foreign key references > to eliminate unnecessary deadlocks. This commit adds SELECT ... FOR SHARE > paralleling SELECT ... FOR UPDATE. The implementation uses a new SLRU > data struc