From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pgstat: add/extend tests for resetting various kinds of stats. |
Date: | 2022-04-07 22:53:07 |
Message-ID: | E1ncazy-000nql-Sq@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pgstat: add/extend tests for resetting various kinds of stats.
- subscriber stats reset path was untested
- slot stat sreset path for all slots was untested
- pg_stat_database.sessions etc was untested
- pg_stat_reset_shared() was untested, for any kind of shared stats
- pg_stat_reset() was untested
Author: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Author: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5264add7847871d61d36a5770dac2139d6a7bc80
Modified Files
--------------
contrib/test_decoding/expected/stats.out | 117 +++++++---
contrib/test_decoding/sql/stats.sql | 32 ++-
src/test/recovery/t/006_logical_decoding.pl | 63 ++++++
src/test/regress/expected/stats.out | 164 ++++++++++++++
src/test/regress/parallel_schedule | 3 +
src/test/regress/sql/stats.sql | 78 +++++++
src/test/subscription/t/026_stats.pl | 318 +++++++++++++++++++++-------
7 files changed, 664 insertions(+), 111 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-04-07 23:47:42 | Re: API stability [was: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.] |
Previous Message | Peter Geoghegan | 2022-04-07 22:43:02 | pgsql: Truncate line pointer array during heap pruning. |