DropRelFileNodeBuffers failed to fix the state of the lookup hash table
Tom Lane <tgl@sss.pgh.pa.us>
DropRelFileNodeBuffers failed to fix the state of the lookup hash table that was added to localbuf.c in 8.1; therefore, applying it to a temp table left corrupt lookup state in memory. The only case where this had a significant chance of causing problems was an ON COMMIT DELETE ROWS temp table; the other possible paths left bogus state that was unlikely to be used again. Per report from Csaba Nagy.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/bufmgr.c | modified | +4 −21 |
| src/backend/storage/buffer/localbuf.c | modified | +47 −1 |
| src/include/storage/buf_internals.h | modified | +3 −1 |