↑↓ 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_last_committed_xact

Read the PG 18 manual

Returns the transaction ID, commit timestamp and replication origin of the latest committed transaction.

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

Signatures & examples

pg_last_committed_xact () → record ( xid xid, timestamp timestamp with time zone, roident oid )
Returns the transaction ID, commit timestamp and replication origin of the latest committed transaction.
Version history 3
  1. 13 → 14 changed
  2. 12 → 13 changed
  3. 9.4 → 9.5 added

Definition snapshot: b7bd9cda · English manual source