↑↓ select ↵ open ⌫ change scope Open full search

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

System Catalogs / System views

pg_prepared_xacts

Read the PG 18 manual

The view pg_prepared_xacts displays information about transactions that are currently prepared for two-phase commit (see PREPARE TRANSACTION for details).

Reading PG 18current·documented in 22 of 24 versions, 8.1 to 20

Kind
System views
Columns in this snapshot
5
Definition source
English manual
Metadata snapshot
18.6

Columns 5

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
transactionxidNumeric transaction identifier of the prepared transaction
gidtextGlobal transaction identifier that was assigned to the transaction
preparedtimestamptzTime at which the transaction was prepared for commit
ownernameName of the user that executed the transaction
pg_authid.rolname
databasenameName of the database in which the transaction was executed
pg_database.datname
Column history across versions
Version history 1
  1. 8.0 → 8.1 added

Definition snapshot: english-manuals:afaad40723b598fc06742ac3382… · English manual source