OSDN Git Service

Fix boundary condition in btbulkdelete: don't examine high key in case
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Nov 2001 23:41:54 +0000 (23:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Nov 2001 23:41:54 +0000 (23:41 +0000)
commitcd255bb07052a8db8fd3c435516e77d7c61f662e
treed8e9c4576ed2c447c35941398ba67086bfdf24cc
parentb104ffbd3d044d5117ca16b74dab868f7bc71190
Fix boundary condition in btbulkdelete: don't examine high key in case
where rightmost index page splits while we are waiting to obtain exclusive
lock on it.  Not clear this would actually hurt (probably the callback
would always fail), but better safe than sorry.
Also, improve comments describing concurrency considerations in this code.
src/backend/access/nbtree/nbtree.c