Skip to content

Commit b7f9c76

Browse files
committed
Last-minute updates for release notes.
1 parent 5fe0ab4 commit b7f9c76

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

doc/src/sgml/release-15.sgml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
<para>
2222
A dump/restore is not required for those running 15.X.
2323
</para>
24+
25+
<para>
26+
However, if you regularly create and drop tables exceeding 1GB,
27+
see the first changelog entry below.
28+
</para>
2429
</sect2>
2530

2631
<sect2>
@@ -31,6 +36,43 @@
3136
<listitem>
3237
<!--
3338
Author: Tom Lane <tgl@sss.pgh.pa.us>
39+
Branch: master [0e758ae89] 2022-11-07 11:36:45 -0500
40+
Branch: REL_15_STABLE [5fe0ab420] 2022-11-07 11:36:45 -0500
41+
-->
42+
<para>
43+
Fix failure to remove non-first segments of large tables
44+
(Tom Lane)
45+
</para>
46+
47+
<para>
48+
<productname>PostgreSQL</productname> splits large tables into
49+
multiple files (normally with 1GB per file). The logic for dropping
50+
a table was broken and would miss removing all but the first such
51+
file, in two cases: drops of temporary tables and WAL replay of
52+
drops of regular tables. Applications that routinely create
53+
multi-gigabyte temporary tables could suffer significant disk space
54+
leakage.
55+
</para>
56+
57+
<para>
58+
Orphaned temporary-table files are removed during postmaster start,
59+
so the mere act of updating to 15.1 is sufficient to clear any
60+
leaked temporary-table storage. However, if you suffered any
61+
database crashes while using 15.0, and there might have been
62+
large tables dropped just before such crashes, it's advisable
63+
to check the database directories for files named according to the
64+
pattern
65+
<literal><replaceable>NNNN</replaceable>.<replaceable>NN</replaceable></literal>.
66+
If there is no matching file named
67+
just <literal><replaceable>NNNN</replaceable></literal> (without
68+
the <literal>.<replaceable>NN</replaceable></literal> suffix), these
69+
files should be removed manually.
70+
</para>
71+
</listitem>
72+
73+
<listitem>
74+
<!--
75+
Author: Tom Lane <tgl@sss.pgh.pa.us>
3476
Branch: master [b8f2687fd] 2022-10-11 18:24:14 -0400
3577
Branch: REL_15_STABLE [07ce67698] 2022-10-11 18:24:14 -0400
3678
Branch: REL_14_STABLE [3162bd95c] 2022-10-11 18:24:14 -0400

0 commit comments

Comments
 (0)