Expand regression tests for pg_stat_reset_shared()

Michael Paquier <michael@paquier.xyz>

Commit: 5b2147d9fcc1f3d09701c548ebebf55cad0d403d
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-10-30T08:19:24Z
Releases: 17.0
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

Files

PathChange+/−
src/test/regress/expected/stats.out modified +25 −0
src/test/regress/sql/stats.sql modified +10 −0

Discussion