pgsql: Don't use SnapshotNow in get_actual_variable_range.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Don't use SnapshotNow in get_actual_variable_range.
Дата
Msg-id E1V2QKO-0006Ex-DS@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't use SnapshotNow in get_actual_variable_range.

Instead, use the active snapshot.  Per Tom Lane, this function is
most interested in knowing the range of tuples our scan will actually
see.

This is another step towards full removal of SnapshotNow.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3483f4332de73e038db64be0614219b64fd3c971

Modified Files
--------------
src/backend/utils/adt/selfuncs.c |    9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add GET DIAGNOSTICS ... PG_CONTEXT in PL/PgSQL
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.