pg_current_snapshot () → pg_snapshotReturns a current snapshot, a data structure showing which transaction IDs are now in-progress. Only top-level transaction IDs are included in the snapshot; subtransaction IDs are not shown; see Section 67.3 for details.
FUNCTIONS / SYSTEM INFORMATION FUNCTIONS AND OPERATORS
pg_current_snapshot
Read PG 18 manual ↗Returns a current snapshot, a data structure showing which transaction IDs are now in-progress.
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