↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / System Information Functions And Operators

pg_visible_in_snapshot

Read the 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.

Reading PG 18current·documented in 8 of 27 versions, 13 to 20

Signatures & examples

pg_visible_in_snapshot ( xid8, pg_snapshot ) → boolean
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.
Version history 4
  1. 17 → 18 changed
  2. 16 → 17 changed
  3. 15 → 16 changed
  4. 12 → 13 added

Definition snapshot: b7bd9cda · English manual source