Expose the estimation of number of changed tuples since last analyze
Magnus Hagander <magnus@hagander.net>
Expose the estimation of number of changed tuples since last analyze This value, now pg_stat_all_tables.n_mod_since_analyze, was already tracked and used by autovacuum, but not exposed to the user. Mark Kirkwood, review by Laurenz Albe
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +5 −0 |
| src/backend/catalog/system_views.sql | modified | +1 −0 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +17 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +2 −0 |
| src/test/regress/expected/rules.out | modified | +3 −0 |