-
- Downloads
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.
Showing
- doc/src/sgml/catalogs.sgml 32 additions, 9 deletionsdoc/src/sgml/catalogs.sgml
- src/backend/access/transam/twophase.c 29 additions, 16 deletionssrc/backend/access/transam/twophase.c
- src/backend/access/transam/xact.c 9 additions, 2 deletionssrc/backend/access/transam/xact.c
- src/backend/catalog/system_views.sql 8 additions, 7 deletionssrc/backend/catalog/system_views.sql
- src/backend/utils/adt/lockfuncs.c 18 additions, 12 deletionssrc/backend/utils/adt/lockfuncs.c
- src/include/access/twophase.h 6 additions, 4 deletionssrc/include/access/twophase.h
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/test/regress/expected/rules.out 2 additions, 2 deletionssrc/test/regress/expected/rules.out
Loading
Please register or sign in to comment