pg_visible_in_snapshot ( xid8, pg_snapshot ) → booleanIs the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.
FUNCTIONS / SYSTEM INFORMATION FUNCTIONS AND OPERATORS
pg_visible_in_snapshot
Read PG 18 manual ↗Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot was taken)? Note that this function will not give the correct answer for a subtransaction ID (subxid); see Section 67.3 for details.
Signatures & examples
Version history 4
- PG 17 → 18changed
- PG 16 → 17changed
- PG 15 → 16changed
- PG 12 → 13added
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source