Skip to content

Commit b0a1ff8

Browse files
committed
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.
1 parent a3fb382 commit b0a1ff8

File tree

2 files changed

+34
-6
lines changed

2 files changed

+34
-6
lines changed

doc/src/sgml/release-10.sgml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,12 +1036,6 @@ Branch: REL9_3_STABLE [9f3ade1a6] 2018-08-31 20:21:30 +0300
10361036
</listitem>
10371037

10381038
<listitem>
1039-
<!--
1040-
Author: Michael Paquier <michael@paquier.xyz>
1041-
Branch: master [edb979766] 2018-09-25 09:55:44 +0900
1042-
Branch: REL_11_STABLE Release: REL_11_0 [a3bb831ef] 2018-09-25 09:56:41 +0900
1043-
Branch: REL_10_STABLE [90a1f9786] 2018-09-25 09:56:57 +0900
1044-
-->
10451039
<para>
10461040
In <filename>contrib/pg_stat_statements</filename>, disallow
10471041
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
10521046
<para>
10531047
<literal>pg_read_all_stats</literal> is only meant to grant permission
10541048
to read statistics, not to change them, so this grant was incorrect.
1049+
</para>
1050+
1051+
<para>
10551052
To cause this change to take effect, run <literal>ALTER EXTENSION
10561053
pg_stat_statements UPDATE</literal> in each database
10571054
where <filename>pg_stat_statements</filename> has been installed.

doc/src/sgml/release-11.sgml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,37 @@ Branch: REL_11_STABLE [cc7f27eae] 2018-10-19 22:45:07 +0900
301301

302302
<listitem>
303303
<!--
304+
Author: Michael Paquier <michael@paquier.xyz>
305+
Branch: master [edb979766] 2018-09-25 09:55:44 +0900
306+
Branch: REL_11_STABLE Release: REL_11_0 [a3bb831ef] 2018-09-25 09:56:41 +0900
307+
Branch: REL_10_STABLE [90a1f9786] 2018-09-25 09:56:57 +0900
308+
-->
309+
<para>
310+
In <filename>contrib/pg_stat_statements</filename>, disallow
311+
the <literal>pg_read_all_stats</literal> role from
312+
executing <function>pg_stat_statements_reset()</function>
313+
(Haribabu Kommi)
314+
</para>
315+
316+
<para>
317+
<literal>pg_read_all_stats</literal> is only meant to grant permission
318+
to read statistics, not to change them, so this grant was incorrect.
319+
</para>
320+
321+
<para>
322+
To cause this change to take effect, run <literal>ALTER EXTENSION
323+
pg_stat_statements UPDATE</literal> in each database
324+
where <filename>pg_stat_statements</filename> has been installed.
325+
(A database freshly created in 11.0 should not need this, but a
326+
database upgraded from a previous release probably still contains
327+
the old version of <filename>pg_stat_statements</filename>. The
328+
<literal>UPDATE</literal> command is harmless if the module was
329+
already updated.)
330+
</para>
331+
</listitem>
332+
333+
<listitem>
334+
<!--
304335
Author: Tom Lane <tgl@sss.pgh.pa.us>
305336
Branch: master [1440c461f] 2018-11-02 18:54:00 -0400
306337
Branch: REL_11_STABLE [df1d749a7] 2018-11-02 18:54:00 -0400

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy