aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeRecursiveunion.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-12-16 09:52:04 -0500
committerRobert Haas <rhaas@postgresql.org>2016-12-16 09:55:20 -0500
commit6a4fe1127c5a0ea1515589e416aa29e088170c0e (patch)
tree7f3be7aefad527023ede704f808d6499888adf34 /src/backend/executor/nodeRecursiveunion.c
parent25216c98938495fd741bf585dcbef45b3a9ffd40 (diff)
downloadpostgresql-6a4fe1127c5a0ea1515589e416aa29e088170c0e.tar.gz
postgresql-6a4fe1127c5a0ea1515589e416aa29e088170c0e.zip
Fix more hash index bugs around marking buffers dirty.
In _hash_freeovflpage(), if we're freeing the overflow page that immediate follows the page to which tuples are being moved (the confusingly-named "write buffer"), don't forget to mark that page dirty after updating its hasho_nextblkno. In _hash_squeezebucket(), it's not necessary to mark the primary bucket page dirty if there are no overflow pages, because there's nothing to squeeze in that case. Amit Kapila, with help from Kuntal Ghosh and Dilip Kumar, after an initial trouble report by Jeff Janes.
Diffstat (limited to 'src/backend/executor/nodeRecursiveunion.c')
0 files changed, 0 insertions, 0 deletions