OSDN Git Service

DropRelFileNodeBuffers failed to fix the state of the lookup hash table
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Nov 2005 17:42:02 +0000 (17:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Nov 2005 17:42:02 +0000 (17:42 +0000)
commitc859308aba7edef428994e6de90ff35f35a328c5
tree14940f255a6c69d44a41f1211d6c8787524abd5e
parent84bb3876bc6efad2c6b36198d6562797af6b0549
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.
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/include/storage/buf_internals.h