Обсуждение: pgsql/src/backend/access/nbtree nbtree.c

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org
Дата:
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.