Re: [HACKERS] KEY UPDATE / UPDATE / NO KEY UPDATE distinction vs. README.tuplock

2014-10-23 Thread Alvaro Herrera
Florian Pflug wrote: > It seems that README.tuplock never got updated when the KEY SHARE patch's > lock level were changed from being KEY UPDATE / UPDATE / SHARE / KEY SHARE > to UPDATE / NO KEY UPDATE / SHARE / KEY SHARE. You're right. We changed the tuple lock modes at the last minute and I fo

[HACKERS] KEY UPDATE / UPDATE / NO KEY UPDATE distinction vs. README.tuplock

2014-10-23 Thread Florian Pflug
Hi, It seems that README.tuplock never got updated when the KEY SHARE patch's lock level were changed from being KEY UPDATE / UPDATE / SHARE / KEY SHARE to UPDATE / NO KEY UPDATE / SHARE / KEY SHARE. Thus, as it stands, that file implies that SELECT FOR UPDATE obtains a weaker lock than an actual