git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cadb783) | patch
Fix up pgstats counting of live and dead tuples to recognize that committed
2007年5月27日 03:50:39 +0000 (03:50 +0000)
2007年5月27日 03:50:39 +0000 (03:50 +0000)
commit 77947c51c08179b8bc12347a7fbcb2c8d7908302
Fix up pgstats counting of live and dead tuples to recognize that committed
and aborted transactions have different effects; also teach it not to assume
that prepared transactions are always committed.

Along the way, simplify the pgstats API by tying counting directly to
Relations; I cannot detect any redeeming social value in having stats
pointers in HeapScanDesc and IndexScanDesc structures. And fix a few
corner cases in which counts might be missed because the relation's
pgstat_info pointer hadn't been set.
20 files changed:
src/backend/access/gin/ginscan.c diff | blob | blame | history
src/backend/access/gist/gistget.c diff | blob | blame | history
src/backend/access/hash/hashsearch.c diff | blob | blame | history
src/backend/access/heap/heapam.c diff | blob | blame | history
src/backend/access/index/genam.c diff | blob | blame | history
src/backend/access/index/indexam.c diff | blob | blame | history
src/backend/access/nbtree/nbtsearch.c diff | blob | blame | history
src/backend/access/transam/twophase.c diff | blob | blame | history
src/backend/access/transam/twophase_rmgr.c diff | blob | blame | history
src/backend/access/transam/xact.c diff | blob | blame | history
src/backend/executor/nodeBitmapHeapscan.c diff | blob | blame | history
src/backend/postmaster/bgwriter.c diff | blob | blame | history
src/backend/postmaster/pgstat.c diff | blob | blame | history
src/backend/storage/buffer/bufmgr.c diff | blob | blame | history
src/backend/utils/cache/relcache.c diff | blob | blame | history
src/include/access/heapam.h diff | blob | blame | history
src/include/access/relscan.h diff | blob | blame | history
src/include/access/twophase_rmgr.h diff | blob | blame | history
src/include/pgstat.h diff | blob | blame | history
src/include/utils/rel.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /