↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / System Administration Functions

pg_logical_slot_peek_changes

Read the PG 18 manual

Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be returned again on future calls.

Reading PG 18current·documented in 14 of 27 versions, 9.4 to 20

Signatures & examples

pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )
Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be returned again on future calls.
Version history 3
  1. 12 → 13 changed
  2. 9.6 → 10 changed
  3. 9.3 → 9.4 added

Definition snapshot: b7bd9cda · English manual source