]> granicus.if.org Git - postgresql/commit
Revise pgstats stuff to fix the problems with not counting accesses
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Oct 2005 02:29:23 +0000 (02:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Oct 2005 02:29:23 +0000 (02:29 +0000)
commitcb8b6618cefa1f87197390ae12709b46f5137a35
tree6180b2eed06fe60c41ef34e88e672743b0fdb046
parentb5aad11a1b253bbd45405dc926f1ebef90f8f28c
Revise pgstats stuff to fix the problems with not counting accesses
generated by bitmap index scans.  Along the way, simplify and speed up
the code for counting sequential and index scans; it was both confusing
and inefficient to be taking care of that in the per-tuple loops, IMHO.
initdb forced because of internal changes in pg_stat view definitions.
16 files changed:
doc/src/sgml/monitoring.sgml
src/backend/access/gist/gistget.c
src/backend/access/hash/hashsearch.c
src/backend/access/heap/heapam.c
src/backend/access/index/indexam.c
src/backend/access/nbtree/nbtsearch.c
src/backend/access/rtree/rtget.c
src/backend/catalog/system_views.sql
src/backend/executor/nodeBitmapHeapscan.c
src/backend/postmaster/pgstat.c
src/include/catalog/catversion.h
src/include/pgstat.h
src/include/utils/rel.h
src/test/regress/expected/rules.out
src/test/regress/expected/stats.out
src/test/regress/sql/stats.sql