]> granicus.if.org Git - postgresql/commit
Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table without
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 27 Jun 2006 03:45:28 +0000 (03:45 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 27 Jun 2006 03:45:28 +0000 (03:45 +0000)
commit4ca74397b4f6faa6038384470337482e1c591e94
tree4a33f545a4d562423116a25708903013a01404d0
parentcc6dbbeefcd1af31775f52ed23f8d0f34f932e2e
Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table without
analyzing, so that future analyze threshold calculations don't get confused.
Also, make sure we correctly track the decrease of live tuples cause by
deletes.

Per report from Dylan Hansen, patches by Tom Lane and me.
src/backend/postmaster/pgstat.c