| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix pg_stat_reset_single_table_counters() for shared relations |
| Date: | 2023-08-21 04:33:31 |
| Message-ID: | E1qXwbb-0004ag-Bd@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix pg_stat_reset_single_table_counters() for shared relations
This commit fixes the function of $subject for shared relations. This
feature has been added by e042678. Unfortunately, this new behavior got
removed by 5891c7a when moving statistics to shared memory.
Reported-by: Mitsuru Hinata
Author: Masahiro Ikeda
Reviewed-by: Kyotaro Horiguchi, Masahiko Sawada
Discussion: https://postgr.es/m/7cc69f863d9b1bc677544e3accd0e4b4@oss.nttdata.com
Backpatch-through: 15
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ad8753a3a717709f5072817636e6845a2d690162
Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 9 ++++++--
src/test/regress/expected/stats.out | 46 +++++++++++++++++++++++++++++++++++++
src/test/regress/sql/stats.sql | 30 ++++++++++++++++++++++++
3 files changed, 83 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2023-08-21 21:54:54 | pgsql: doc: PG 16 relnotes: move role INHERIT item and clarify it |
| Previous Message | Michael Paquier | 2023-08-20 06:47:48 | pgsql: Bump catalog version for pg_wait_events |