From 1623740d841fde74dd492fef87d48f0100bdcce8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 5 Nov 2018 16:07:06 -0500 Subject: [PATCH] Last-minute updates for release notes. I removed the item about the pg_stat_statements change from release-11.sgml, as part of a sweep to delete items already committed in 11.0; but actually we'd best keep it to ensure that people who've pg_upgraded their databases will take the requisite action. Also make said action more visible by making it into its own para. Noted by Jonathan Katz. --- doc/src/sgml/release-10.sgml | 9 +++------ doc/src/sgml/release-11.sgml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/doc/src/sgml/release-10.sgml b/doc/src/sgml/release-10.sgml index c268ec2a0e..0c02ecbc4e 100644 --- a/doc/src/sgml/release-10.sgml +++ b/doc/src/sgml/release-10.sgml @@ -1036,12 +1036,6 @@ Branch: REL9_3_STABLE [9f3ade1a6] 2018-08-31 20:21:30 +0300 - In contrib/pg_stat_statements, disallow the pg_read_all_stats role from @@ -1052,6 +1046,9 @@ Branch: REL_10_STABLE [90a1f9786] 2018-09-25 09:56:57 +0900 pg_read_all_stats is only meant to grant permission to read statistics, not to change them, so this grant was incorrect. + + + To cause this change to take effect, run ALTER EXTENSION pg_stat_statements UPDATE in each database where pg_stat_statements has been installed. diff --git a/doc/src/sgml/release-11.sgml b/doc/src/sgml/release-11.sgml index 1862e8a335..f7ddcec120 100644 --- a/doc/src/sgml/release-11.sgml +++ b/doc/src/sgml/release-11.sgml @@ -301,6 +301,37 @@ Branch: REL_11_STABLE [cc7f27eae] 2018-10-19 22:45:07 +0900 + + In contrib/pg_stat_statements, disallow + the pg_read_all_stats role from + executing pg_stat_statements_reset() + (Haribabu Kommi) + + + + pg_read_all_stats is only meant to grant permission + to read statistics, not to change them, so this grant was incorrect. + + + + To cause this change to take effect, run ALTER EXTENSION + pg_stat_statements UPDATE in each database + where pg_stat_statements has been installed. + (A database freshly created in 11.0 should not need this, but a + database upgraded from a previous release probably still contains + the old version of pg_stat_statements. The + UPDATE command is harmless if the module was + already updated.) + + + + +