]> granicus.if.org Git - postgresql/commit
Add a time-of-preparation column to the pg_prepared_xacts view, per an
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Jun 2005 19:33:42 +0000 (19:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Jun 2005 19:33:42 +0000 (19:33 +0000)
commita8d1075f271458960da683e8ec28f5a656984159
treeef8741a8a574283dc2bba0b9691b84ab12552839
parent66b098492e62667bd20e8745de7bde9d00851147
Add a time-of-preparation column to the pg_prepared_xacts view, per an
old suggestion by Oliver Jowett.  Also, add a transaction column to the
pg_locks view to show the xid of each transaction holding or awaiting
locks; this allows prepared transactions to be properly associated with
the locks they own.  There was already a column named 'transaction',
and I chose to rename it to 'transactionid' --- since this column is
new in the current devel cycle there should be no backwards compatibility
issue to worry about.
doc/src/sgml/catalogs.sgml
src/backend/access/transam/twophase.c
src/backend/access/transam/xact.c
src/backend/catalog/system_views.sql
src/backend/utils/adt/lockfuncs.c
src/include/access/twophase.h
src/include/catalog/catversion.h
src/test/regress/expected/rules.out