]> granicus.if.org Git - postgresql/commit
Add stats functions and views to provide access to a transaction's own
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Aug 2010 16:27:06 +0000 (16:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Aug 2010 16:27:06 +0000 (16:27 +0000)
commit46aa77c7bd256b3448cc420e02ff59d7cc0270c1
treecdf372525292dbd9290d69f3e94a5de010b4a108
parent83f5491c63f33cce5b84532cd76602295580809e
Add stats functions and views to provide access to a transaction's own
statistics counts.  These numbers are being accumulated but haven't yet been
transmitted to the collector (and won't be, until the transaction ends).
For some purposes, though, it's handy to be able to look at them.

Joel Jacobson, reviewed by Itagaki Takahiro
doc/src/sgml/monitoring.sgml
src/backend/catalog/system_views.sql
src/backend/postmaster/pgstat.c
src/backend/utils/adt/pgstatfuncs.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/pgstat.h
src/test/regress/expected/rules.out