pg_log_standby_snapshot () → pg_lsnTake a snapshot of running transactions and write it to WAL, without having to wait for bgwriter or checkpointer to log one. This is useful for logical decoding on standby, as logical slot creation has to wait until such a record is replayed on the standby.
Functions / System Administration Functions
pg_log_standby_snapshot
Read the PG 18 manualTake a snapshot of running transactions and write it to WAL, without having to wait for bgwriter or checkpointer to log one.
Reading PG 18current·documented in 5 of 27 versions, 16 to 20
Signatures & examples
Version history 1
- 15 → 16 added
Definition snapshot: b7bd9cda · English manual source