## F.22. old\_snapshot

[F.22.1. Functions](oldsnapshot.html#id-1.11.7.31.4)

[]()

 The `old_snapshot` module allows inspection of the server state that is used to implement [old\_snapshot\_threshold](runtime-config-resource.html#GUC-OLD-SNAPSHOT-THRESHOLD).

### F.22.1. Functions

`pg_old_snapshot_time_mapping(array_offset OUT int4, end_timestamp OUT timestamptz, newest_xmin OUT xid) returns setof record`

 Returns 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.

