]> 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:16 +0000 (03:45 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 27 Jun 2006 03:45:16 +0000 (03:45 +0000)
commit32ad0fc18311da9ec1f30f1444e3f97170e43e30
tree70282ddcc77fa3baea0b4809e2bb063eeff53685
parentdc2c25fc6246866ce809a8b6bf1d2a2856334b54
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