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.) + + + + +