pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix pg_stat_reset_single_table_counters() for shared relations
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix pg_stat_reset_single_table_counters() for shared relations
@ 2023-08-21 04:33 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2023-08-21 04:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6fde2d9a005a5bc04aa059d3faeb865c8dd322ce

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix pg_stat_reset_single_table_counters() for shared relations
@ 2023-08-21 04:33 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2023-08-21 04:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d6af45052dc8a9d97a18e1a3b9febabd891ba270

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix pg_stat_reset_single_table_counters() for shared relations
@ 2023-08-21 04:33 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2023-08-21 04:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-08-21 04:33 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 04:33 pgsql: Fix pg_stat_reset_single_table_counters() for shared relations Michael Paquier <michael@paquier.xyz>
2023-08-21 04:33 pgsql: Fix pg_stat_reset_single_table_counters() for shared relations Michael Paquier <michael@paquier.xyz>
2023-08-21 04:33 pgsql: Fix pg_stat_reset_single_table_counters() for shared relations Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox