pgsql: Fix error of pg_stat_reset_shared()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix error of pg_stat_reset_shared()
Date: 2026-04-30 02:33:16
Message-ID: E1wIHDI-003PLF-0H@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix error of pg_stat_reset_shared()

"lock" a values is supported since 4019f725f5d4, but the error message
of the function used when specifying an incorrect value forgot about it.

Author: Maksim Logvinenko <logvinenko-ms(at)yandex(dot)ru>
Discussion: https://postgr.es/m/433431777389005@mail.yandex.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4bfd0f1b769eca345072ea4da646a0d46a49960c

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 2 +-
src/test/regress/expected/stats.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-04-30 04:12:07 pgsql: Adjust some incorrect *GetDatum() macros
Previous Message Nathan Bossart 2026-04-29 17:29:40 pgsql: Suppress "has no symbols" linker warnings on macOS.