Skip to content

Commit 9ac1003

Browse files
committed
Release notes for 17.2, 16.6, 15.10, 14.15, 13.18, 12.22.
1 parent 6bfacd3 commit 9ac1003

File tree

1 file changed

+225
-0
lines changed

1 file changed

+225
-0
lines changed

doc/src/sgml/release-17.sgml

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,231 @@
11
<!-- doc/src/sgml/release-17.sgml -->
22
<!-- See header comment in release.sgml about typical markup -->
33

4+
<sect1 id="release-17-2">
5+
<title>Release 17.2</title>
6+
7+
<formalpara>
8+
<title>Release date:</title>
9+
<para>2024-11-21</para>
10+
</formalpara>
11+
12+
<para>
13+
This release contains a few fixes from 17.1.
14+
For information about new features in major release 17, see
15+
<xref linkend="release-17"/>.
16+
</para>
17+
18+
<sect2 id="release-17-2-migration">
19+
<title>Migration to Version 17.2</title>
20+
21+
<para>
22+
A dump/restore is not required for those running 17.X.
23+
</para>
24+
25+
<para>
26+
However, if you are upgrading from a version earlier than 17.1,
27+
see <xref linkend="release-17-1"/>.
28+
</para>
29+
</sect2>
30+
31+
<sect2 id="release-17-2-changes">
32+
<title>Changes</title>
33+
34+
<itemizedlist>
35+
36+
<listitem>
37+
<!--
38+
Author: Tom Lane <tgl@sss.pgh.pa.us>
39+
Branch: REL_17_STABLE [6bfacd368] 2024-11-16 12:58:26 -0500
40+
Branch: REL_16_STABLE [ee33d5847] 2024-11-16 12:58:26 -0500
41+
Branch: REL_15_STABLE [17db248f3] 2024-11-16 12:58:26 -0500
42+
Branch: REL_14_STABLE [099e711b7] 2024-11-16 12:58:26 -0500
43+
-->
44+
<para>
45+
Repair ABI break for extensions that work with
46+
struct <structname>ResultRelInfo</structname> (Tom Lane)
47+
<ulink url="&commit_baseurl;6bfacd368">&sect;</ulink>
48+
</para>
49+
50+
<para>
51+
Last week's minor releases unintentionally broke binary
52+
compatibility with <application>timescaledb</application> and
53+
several other extensions. Restore the affected structure to its
54+
previous size, so that such extensions need not be rebuilt.
55+
</para>
56+
</listitem>
57+
58+
<listitem>
59+
<!--
60+
Author: Noah Misch <noah@leadboat.com>
61+
Branch: master [7b88529f4] 2024-11-15 20:39:56 -0800
62+
Branch: REL_17_STABLE [1c05004a8] 2024-11-15 20:39:59 -0800
63+
Branch: REL_16_STABLE [b0918c128] 2024-11-15 20:39:59 -0800
64+
Branch: REL_15_STABLE [edf80895f] 2024-11-15 20:39:59 -0800
65+
Branch: REL_14_STABLE [be062bfa5] 2024-11-15 20:40:00 -0800
66+
Branch: REL_13_STABLE [07c6e0f61] 2024-11-15 20:40:00 -0800
67+
Branch: REL_12_STABLE [c46333865] 2024-11-15 20:40:00 -0800
68+
-->
69+
<para>
70+
Restore functionality of <command>ALTER {ROLE|DATABASE} SET
71+
role</command> (Tom Lane, Noah Misch)
72+
<ulink url="&commit_baseurl;1c05004a8">&sect;</ulink>
73+
</para>
74+
75+
<para>
76+
The fix for CVE-2024-10978 accidentally caused settings
77+
for <varname>role</varname> to not be applied if they come from
78+
non-interactive sources, including previous <command>ALTER
79+
{ROLE|DATABASE}</command> commands and
80+
the <varname>PGOPTIONS</varname> environment variable.
81+
</para>
82+
</listitem>
83+
84+
<listitem>
85+
<!--
86+
Author: Masahiko Sawada <msawada@postgresql.org>
87+
Branch: master [e5ed873b1] 2024-11-15 17:06:11 -0800
88+
Branch: REL_17_STABLE [568e78a65] 2024-11-15 17:06:08 -0800
89+
Branch: REL_16_STABLE [f35391133] 2024-11-15 17:06:05 -0800
90+
Branch: REL_15_STABLE [91771b3fb] 2024-11-15 17:06:02 -0800
91+
Branch: REL_14_STABLE [26c4e8968] 2024-11-15 17:06:00 -0800
92+
Branch: REL_13_STABLE [15dc1abb1] 2024-11-15 17:05:57 -0800
93+
-->
94+
<para>
95+
Fix cases where a logical replication
96+
slot's <structfield>restart_lsn</structfield> could go backwards
97+
(Masahiko Sawada)
98+
<ulink url="&commit_baseurl;568e78a65">&sect;</ulink>
99+
</para>
100+
101+
<para>
102+
Previously, restarting logical replication could sometimes cause the
103+
slot's restart point to be recomputed as an older value than had
104+
previously been advertised
105+
in <structname>pg_replication_slots</structname>. This is bad,
106+
since for example WAL files might have been removed on the basis of
107+
the later <structfield>restart_lsn</structfield> value, in which
108+
case replication would fail to restart.
109+
</para>
110+
</listitem>
111+
112+
<listitem>
113+
<!--
114+
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
115+
Branch: master [90bcc7c2d] 2024-11-15 12:53:12 +0100
116+
Branch: REL_17_STABLE [cb844d66b] 2024-11-15 12:53:12 +0100
117+
Branch: REL_16_STABLE [ea1649c35] 2024-11-15 12:53:12 +0100
118+
Branch: REL_15_STABLE [e28cf2fbc] 2024-11-15 12:53:12 +0100
119+
Branch: REL_14_STABLE [ba2535841] 2024-11-15 12:53:12 +0100
120+
-->
121+
<para>
122+
Avoid deleting still-needed WAL files
123+
during <application>pg_rewind</application>
124+
(Polina Bungina, Alexander Kukushkin)
125+
<ulink url="&commit_baseurl;cb844d66b">&sect;</ulink>
126+
</para>
127+
128+
<para>
129+
Previously, in unlucky cases, it was possible
130+
for <application>pg_rewind</application> to remove important WAL
131+
files from the rewound demoted primary. In particular this happens
132+
if those files have been marked for archival (i.e.,
133+
their <filename>.ready</filename> files were created) but not yet
134+
archived. Then the newly promoted node no longer has such files
135+
because of them having been recycled, but likely they are needed
136+
for recovery in the demoted node.
137+
If <application>pg_rewind</application> removes them, recovery is
138+
not possible anymore.
139+
</para>
140+
</listitem>
141+
142+
<listitem>
143+
<!--
144+
Author: Michael Paquier <michael@paquier.xyz>
145+
Branch: master [818119afc] 2024-11-15 11:31:58 +0900
146+
Branch: REL_17_STABLE [1d6a03ea4] 2024-11-15 11:32:13 +0900
147+
Branch: REL_16_STABLE [afa20845d] 2024-11-15 11:32:16 +0900
148+
Branch: REL_15_STABLE [154c5b42a] 2024-11-15 11:32:18 +0900
149+
-->
150+
<para>
151+
Fix race conditions associated with dropping shared statistics
152+
entries (Kyotaro Horiguchi, Michael Paquier)
153+
<ulink url="&commit_baseurl;1d6a03ea4">&sect;</ulink>
154+
</para>
155+
156+
<para>
157+
These bugs could lead to loss of statistics data, assertion
158+
failures, or <quote>can only drop stats once</quote> errors.
159+
</para>
160+
</listitem>
161+
162+
<listitem>
163+
<!--
164+
Author: Peter Geoghegan <pg@bowt.ie>
165+
Branch: master [93063e2e4] 2024-11-12 20:57:45 -0500
166+
Branch: REL_17_STABLE [7af6d1306] 2024-11-12 20:57:43 -0500
167+
Branch: REL_16_STABLE [05aac2e83] 2024-11-12 20:57:41 -0500
168+
Branch: REL_15_STABLE [16a2bb079] 2024-11-12 20:57:39 -0500
169+
Branch: REL_14_STABLE [2a30b6836] 2024-11-12 20:57:37 -0500
170+
Branch: REL_13_STABLE [e493ea866] 2024-11-12 20:57:35 -0500
171+
-->
172+
<para>
173+
Count index scans in <filename>contrib/bloom</filename> indexes in
174+
the statistics views, such as the
175+
<structname>pg_stat_user_indexes</structname>.<structfield>idx_scan</structfield>
176+
counter (Masahiro Ikeda)
177+
<ulink url="&commit_baseurl;7af6d1306">&sect;</ulink>
178+
</para>
179+
</listitem>
180+
181+
<listitem>
182+
<!--
183+
Author: Alexander Korotkov <akorotkov@postgresql.org>
184+
Branch: master [db22b9002] 2024-11-12 01:44:20 +0200
185+
Branch: REL_17_STABLE [a6fa869cf] 2024-11-12 01:51:20 +0200
186+
Branch: REL_16_STABLE [b242aba02] 2024-11-12 01:53:40 +0200
187+
Branch: REL_15_STABLE [713b8546a] 2024-11-12 01:54:30 +0200
188+
Branch: REL_14_STABLE [247e7647f] 2024-11-12 01:54:35 +0200
189+
Branch: REL_13_STABLE [5411e8213] 2024-11-12 01:54:38 +0200
190+
-->
191+
<para>
192+
Fix crash when checking to see if an index's opclass options have
193+
changed (Alexander Korotkov)
194+
<ulink url="&commit_baseurl;a6fa869cf">&sect;</ulink>
195+
</para>
196+
197+
<para>
198+
Some forms of <command>ALTER TABLE</command> would fail if the
199+
table has an index with non-default operator class options.
200+
</para>
201+
</listitem>
202+
203+
<listitem>
204+
<!--
205+
Author: Tom Lane <tgl@sss.pgh.pa.us>
206+
Branch: master [b69bdcee9] 2024-11-15 18:23:38 -0500
207+
Branch: REL_17_STABLE [5f28e6ba7] 2024-11-15 18:23:38 -0500
208+
Branch: REL_16_STABLE [b6312becc] 2024-11-15 18:23:38 -0500
209+
Branch: REL_15_STABLE [2496c3f6f] 2024-11-15 18:23:38 -0500
210+
Branch: REL_14_STABLE [2bdd3b248] 2024-11-15 18:23:38 -0500
211+
-->
212+
<para>
213+
Avoid assertion failure caused by disconnected NFA sub-graphs in
214+
regular expression parsing (Tom Lane)
215+
<ulink url="&commit_baseurl;5f28e6ba7">&sect;</ulink>
216+
</para>
217+
218+
<para>
219+
This bug does not appear to have any visible consequences in
220+
non-assert builds.
221+
</para>
222+
</listitem>
223+
224+
</itemizedlist>
225+
226+
</sect2>
227+
</sect1>
228+
4229
<sect1 id="release-17-1">
5230
<title>Release 17.1</title>
6231

0 commit comments

Comments
 (0)