]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix documentation about joining pg_locks to other views.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Apr 2014 18:18:31 +0000 (14:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Apr 2014 18:18:31 +0000 (14:18 -0400)
commit6c1cfbacb9f92454a91d2898da84772fc6eeddd7
treea22c9febb8b0bb565266105286eba8ee2f76fe99
parent4f304875356bd92f5ed06fe751b985bbfd5b7d66
Fix documentation about joining pg_locks to other views.

The advice to join to pg_prepared_xacts via the transaction column was not
updated when the transaction column was replaced by virtualtransaction.
Since it's not quite obvious how to do that join, give an explicit example.
For consistency also give an example for the adjacent case of joining to
pg_stat_activity.  And link-ify the view references too, just because we
can.  Per bug #9840 from Alexey Bashtanov.

Michael Paquier and Tom Lane
doc/src/sgml/catalogs.sgml