Re: [HACKERS] [PATCH] HOT on tables with oid indexes broken

2013-02-01 Thread Alvaro Herrera
Andres Freund wrote: > > Hi, > > The fklocks patch moved HeapSatisfiesHOTandKeyUpdate (or rather > HeapSatisfiesHOTUpdate back then) to be called way earlier in > heap_update as its needed to know which lock level is > required. Unfortunately the oid of the new tuple isn't yet setup at that > poi

[HACKERS] [PATCH] HOT on tables with oid indexes broken

2013-01-31 Thread Andres Freund
Hi, The fklocks patch moved HeapSatisfiesHOTandKeyUpdate (or rather HeapSatisfiesHOTUpdate back then) to be called way earlier in heap_update as its needed to know which lock level is required. Unfortunately the oid of the new tuple isn't yet setup at that point. Due to this everytime there's an