Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVce5-0003HO-4X for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Apr 2014 08:05:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WVce4-00075S-85 for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Apr 2014 08:05:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVce2-00075J-BX for pgsql-bugs@postgresql.org; Thu, 03 Apr 2014 08:05:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVcdz-0007ff-IV for pgsql-bugs@postgresql.org; Thu, 03 Apr 2014 08:05:05 +0000 MIME-Version: 1.0 Subject: BUG #9840: Documentation bug on pg_locks To: pgsql-bugs@postgresql.org From: bashtanov@imap.cc Date: Thu, 03 Apr 2014 08:04:25 +0000 Message-ID: <20140403080425.309.11395@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.1 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs