Thread: pgsql/src/backend/catalog index.c

pgsql/src/backend/catalog index.c

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/09/26 17:09:27

Modified files:
    src/backend/catalog: index.c

Log message:
    Repair oversight in recent changes to index-creation: tuple time qual
    check *can* return HEAPTUPLE_INSERT_IN_PROGRESS or HEAPTUPLE_DELETE_IN_PROGRESS,
    even though we have ShareLock on the relation.  To wit, this can happen
    if the tuple was inserted/deleted by our own transaction.  Per report from
    Justin Clift 9/23.