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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Change currtid functions to use an MVCC snapshot, not SnapshotNo
Дата
Msg-id E1V2SId-0008BZ-C0@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: pgstattuple: Doc update for previous commit.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Prevent leakage of SPI tuple tables during subtransaction abort.