pgsql/src backend/access/gist/gist.c backend/a ... - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql/src backend/access/gist/gist.c backend/a ...
Date
Msg-id 20020524185757.37B3A4762D7@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/05/24 14:57:57

Modified files:
    src/backend/access/gist: gist.c
    src/backend/access/hash: hash.c hashscan.c hashsearch.c
    src/backend/access/heap: heapam.c tuptoaster.c
    src/backend/access/index: genam.c indexam.c
    src/backend/access/nbtree: nbtinsert.c nbtree.c nbtsearch.c
                               nbtutils.c
    src/backend/access/rtree: rtree.c
    src/backend/catalog: indexing.c
    src/backend/commands: analyze.c trigger.c vacuum.c
    src/backend/executor: execMain.c execUtils.c nodeTidscan.c
    src/backend/storage/ipc: sinval.c
    src/backend/utils/time: tqual.c
    src/include/access: genam.h heapam.h nbtree.h relscan.h valid.h
    src/include/catalog: pg_proc.h
    src/include/executor: executor.h
    src/include/utils: tqual.h

Log message:
    Mark index entries "killed" when they are no longer visible to any
    transaction, so as to avoid returning them out of the index AM.  Saves
    repeated heap_fetch operations on frequently-updated rows.  Also detect
    queries on unique keys (equality to all columns of a unique index), and
    don't bother continuing scan once we have found first match.

    Killing is implemented in the btree and hash AMs, but not yet in rtree
    or gist, because there isn't an equally convenient place to do it in
    those AMs (the outer amgetnext routine can't do it without re-pinning
    the index page).

    Did some small cleanup on APIs of HeapTupleSatisfies, heap_fetch, and
    index_insert to make this a little easier.


pgsql-committers by date:

Previous
From: petere@postgresql.org (Peter Eisentraut - PostgreSQL)
Date:
Subject: pgsql/ /configure /configure.in onfig/tcl.m4 r ...
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql/src/backend/access heap/heapam.c index/i ...