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 PG 18 manual ↗Take a snapshot of running transactions and write it to WAL, without having to wait for bgwriter or checkpointer to log one.
Signatures & examples
Version history 1
- PG 15 → 16added
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source