Обсуждение: pgsql: Change currtid functions to use an MVCC snapshot, not SnapshotNo

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

pgsql: Change currtid functions to use an MVCC snapshot, not SnapshotNo

От
Robert Haas
Дата:
Change currtid functions to use an MVCC snapshot, not SnapshotNow.

This has a slight performance cost, but the only known consumers
of these functions, known at the SQL level as currtid and currtid2,
is pgsql-odbc; whose usage, we hope, is not sufficiently intensive
to make this a problem.

Per discussion.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ed93feb80891b131e9676e962256cc2b18aa5e78

Modified Files
--------------
src/backend/utils/adt/tid.c |   12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)