aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/release-10.sgml9
-rw-r--r--doc/src/sgml/release-11.sgml31
2 files changed, 34 insertions, 6 deletions
diff --git a/doc/src/sgml/release-10.sgml b/doc/src/sgml/release-10.sgml
index c268ec2a0ea..0c02ecbc4e3 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
</listitem>
<listitem>
-<!--
-Author: Michael Paquier <michael@paquier.xyz>
-Branch: master [edb979766] 2018-09-25 09:55:44 +0900
-Branch: REL_11_STABLE Release: REL_11_0 [a3bb831ef] 2018-09-25 09:56:41 +0900
-Branch: REL_10_STABLE [90a1f9786] 2018-09-25 09:56:57 +0900
--->
<para>
In <filename>contrib/pg_stat_statements</filename>, disallow
the <literal>pg_read_all_stats</literal> role from
@@ -1052,6 +1046,9 @@ Branch: REL_10_STABLE [90a1f9786] 2018-09-25 09:56:57 +0900
<para>
<literal>pg_read_all_stats</literal> is only meant to grant permission
to read statistics, not to change them, so this grant was incorrect.
+ </para>
+
+ <para>
To cause this change to take effect, run <literal>ALTER EXTENSION
pg_stat_statements UPDATE</literal> in each database
where <filename>pg_stat_statements</filename> has been installed.
diff --git a/doc/src/sgml/release-11.sgml b/doc/src/sgml/release-11.sgml
index 1862e8a3351..f7ddcec1208 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
<listitem>
<!--
+Author: Michael Paquier <michael@paquier.xyz>
+Branch: master [edb979766] 2018-09-25 09:55:44 +0900
+Branch: REL_11_STABLE Release: REL_11_0 [a3bb831ef] 2018-09-25 09:56:41 +0900
+Branch: REL_10_STABLE [90a1f9786] 2018-09-25 09:56:57 +0900
+-->
+ <para>
+ In <filename>contrib/pg_stat_statements</filename>, disallow
+ the <literal>pg_read_all_stats</literal> role from
+ executing <function>pg_stat_statements_reset()</function>
+ (Haribabu Kommi)
+ </para>
+
+ <para>
+ <literal>pg_read_all_stats</literal> is only meant to grant permission
+ to read statistics, not to change them, so this grant was incorrect.
+ </para>
+
+ <para>
+ To cause this change to take effect, run <literal>ALTER EXTENSION
+ pg_stat_statements UPDATE</literal> in each database
+ where <filename>pg_stat_statements</filename> 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 <filename>pg_stat_statements</filename>. The
+ <literal>UPDATE</literal> command is harmless if the module was
+ already updated.)
+ </para>
+ </listitem>
+
+ <listitem>
+<!--
Author: Tom Lane <tgl@sss.pgh.pa.us>
Branch: master [1440c461f] 2018-11-02 18:54:00 -0400
Branch: REL_11_STABLE [df1d749a7] 2018-11-02 18:54:00 -0400