F.39. old_snapshot — чтение информации, используемой в реализации old_snapshot_threshold #
Модуль old_snapshot позволяет прочитать информацию, используемую в реализации old_snapshot_threshold.
F.39.1. Функции #
pg_old_snapshot_time_mapping(array_offset OUT int4, end_timestamp OUT timestamptz, newest_xmin OUT xid) returns setof recordВозвращает все записи из серверного массива сопоставлений XID и времени. В этих записях отображается последний xmin снимка, сделанного в соответствующую минуту.
F.39. old_snapshot — inspect old_snapshot_threshold state #
The old_snapshot module allows inspection of the server state that is used to implement old_snapshot_threshold.
F.39.1. Functions #
pg_old_snapshot_time_mapping(array_offset OUT int4, end_timestamp OUT timestamptz, newest_xmin OUT xid) returns setof recordReturns all of the entries in the server's timestamp to XID mapping. Each entry represents the newest xmin of any snapshot taken in the corresponding minute.