pgsql: Expand regression tests for pg_stat_reset_shared()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expand regression tests for pg_stat_reset_shared()
Date: 2023-10-30 08:19:37
Message-ID: E1qxNUn-00351i-6b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Expand regression tests for pg_stat_reset_shared()

This commit adds coverage for the stats reset of recovery_prefetch, and
for the case where an invalid value is given in input of the function.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACW9Uk7x61oSix9qK0xR4Jhy3cgg6pobQ-Q3GNsUbFrn8A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5b2147d9fcc1f3d09701c548ebebf55cad0d403d

Modified Files
--------------
src/test/regress/expected/stats.out | 25 +++++++++++++++++++++++++
src/test/regress/sql/stats.sql | 10 ++++++++++
2 files changed, 35 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2023-10-30 08:35:40 Re: pgsql: Teach contrib/amcheck to check the unique constraint violation
Previous Message Michael Paquier 2023-10-30 07:17:52 Re: pgsql: Teach contrib/amcheck to check the unique constraint violation