Обсуждение: pgsql/src/backend/utils/time tqual.c

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

pgsql/src/backend/utils/time tqual.c

От
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/05/05 22:39:01

Modified files:
    src/backend/utils/time: tqual.c

Log message:
    Reorder snapshot checks to save a couple comparisons in the common case,
    where the tuple's xmin or xmax is older than the snapshot xmin.  There
    is no need to check it against snapshot xmax in that case.