Обсуждение: pgsql: TransactionIdIsInProgress can skip scanning the ProcArray if the

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

pgsql: TransactionIdIsInProgress can skip scanning the ProcArray if the

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
TransactionIdIsInProgress can skip scanning the ProcArray if the target XID is
later than latestCompletedXid, per Florian Pflug.  Also some minor
improvements in the XIDCACHE_DEBUG code --- make sure each call of
TransactionIdIsInProgress is counted one way or another.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.34 -> r1.35)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.34&r2=1.35)