↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / System Administration Functions

pg_replication_origin_xact_setup

Read the PG 18 manual

Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp.

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

Signatures & examples

pg_replication_origin_xact_setup ( origin_lsn pg_lsn, origin_timestamp timestamp with time zone ) → void
Marks the current transaction as replaying a transaction that has committed at the given LSN and timestamp. Can only be called when a replication origin has been selected using pg_replication_origin_session_setup.
Version history 2
  1. 12 → 13 changed
  2. 9.4 → 9.5 added

Definition snapshot: b7bd9cda · English manual source