Add stats_reset column to pg_stat_database_conflicts. This commit adds a stats_reset column to pg_stat_database_conflicts, allowing users to see when the statistics in this view were last reset. This makes the view consistent with pg_stat_database and other statistics views.
Catalog version bumped. Author: Shihao Zhong <[email protected]> Reviewed-by: Sami Imseih <[email protected]> Reviewed-by: Kirill Reshke <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/CAGRkXqS98OebEWjax99_LVAECsxCB8i=bfsdal34i-5qhfw...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/723619eaa3a85f32ce8c2d32c063da26f89ca8d2 Modified Files -------------- doc/src/sgml/monitoring.sgml | 9 +++++++++ src/backend/catalog/system_views.sql | 3 ++- src/include/catalog/catversion.h | 2 +- src/test/regress/expected/rules.out | 3 ++- src/test/regress/expected/stats.out | 19 +++++++++++++++++-- src/test/regress/sql/stats.sql | 9 +++++++-- 6 files changed, 38 insertions(+), 7 deletions(-)
