BUG #9840: Documentation bug on pg_locks - Mailing list pgsql-bugs

From bashtanov@imap.cc
Subject BUG #9840: Documentation bug on pg_locks
Date
Msg-id 20140403080425.309.11395@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #9840: Documentation bug on pg_locks  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      9840
Logged by:          Alexey Bashtanov
Email address:      bashtanov@imap.cc
PostgreSQL version: 9.3.4
Operating system:   -
Description:

Hello!
Documentation
http://www.postgresql.org/docs/current/static/view-pg-locks.html states that
"if you are using prepared transactions, the transaction column can be
joined to the transaction column of the pg_prepared_xacts view to get more
information on prepared transactions that hold locks."

However, there is no "transaction" column in pg_locks.

Neither transactionid nor virtualtransaction could be the mentioned column
as transactionid is "null if the target is not a transaction ID" and
virtualtransaction has different column data type.

Please could you clarify the docs.

Regards,
  Alexey Bashtanov

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: Configuring Standby Server in PostgreSQL 9.3.3
Next
From: Heikki Linnakangas
Date:
Subject: Re: Configuring Standby Server in PostgreSQL 9.3.3