Thread: pgsql/src/backend/access/nbtree nbtree.c

pgsql/src/backend/access/nbtree nbtree.c

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/11/23 18:41:54

Modified files:
    src/backend/access/nbtree: nbtree.c

Log message:
    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.