doc-exports/docs/dws/dev/dws_04_0742.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

5.7 KiB

PG_PREPARED_XACTS

PG_PREPARED_XACTS displays information about transactions that are currently prepared for two-phase commit.

Table 1 PG_PREPARED_XACTS columns

Name

Type

Reference

Description

transaction

xid

-

Numeric transaction identifier of the prepared transaction

gid

text

-

Global transaction identifier that was assigned to the transaction

prepared

timestamp with time zone

-

Time at which the transaction is prepared for commit

owner

name

PG_AUTHID.rolname

Name of the user that executes the transaction

database

name

PG_DATABASE.datname

Name of the database in which the transaction is executed