git.postgresql.org Git - postgresql.git/commit
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:
This is the main PostgreSQL git repository.
RSS
Atom