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 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).

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

Columns 5

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

Definition snapshot: english-manuals:21f188604dadfb9b68ea0b2d4fd… · English manual source