aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-11-07 13:02:24 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-11-07 13:02:24 -0500
commitb7f9c762a8e10a64866309b64b785a4496bcd194 (patch)
tree9df1ee2dcba454d707c4e6e02c1a99a4c4622679
parent5fe0ab42015ae8b084d959ac79cd7ee26de57b62 (diff)
downloadpostgresql-b7f9c762a8e10a64866309b64b785a4496bcd194.tar.gz
postgresql-b7f9c762a8e10a64866309b64b785a4496bcd194.zip
Last-minute updates for release notes.
-rw-r--r--doc/src/sgml/release-15.sgml42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/src/sgml/release-15.sgml b/doc/src/sgml/release-15.sgml
index 3019d6c61f2..78aa7c1bb80 100644
--- a/doc/src/sgml/release-15.sgml
+++ b/doc/src/sgml/release-15.sgml
@@ -21,6 +21,11 @@
<para>
A dump/restore is not required for those running 15.X.
</para>
+
+ <para>
+ However, if you regularly create and drop tables exceeding 1GB,
+ see the first changelog entry below.
+ </para>
</sect2>
<sect2>
@@ -31,6 +36,43 @@
<listitem>
<!--
Author: Tom Lane <tgl@sss.pgh.pa.us>
+Branch: master [0e758ae89] 2022-11-07 11:36:45 -0500
+Branch: REL_15_STABLE [5fe0ab420] 2022-11-07 11:36:45 -0500
+-->
+ <para>
+ Fix failure to remove non-first segments of large tables
+ (Tom Lane)
+ </para>
+
+ <para>
+ <productname>PostgreSQL</productname> splits large tables into
+ multiple files (normally with 1GB per file). The logic for dropping
+ a table was broken and would miss removing all but the first such
+ file, in two cases: drops of temporary tables and WAL replay of
+ drops of regular tables. Applications that routinely create
+ multi-gigabyte temporary tables could suffer significant disk space
+ leakage.
+ </para>
+
+ <para>
+ Orphaned temporary-table files are removed during postmaster start,
+ so the mere act of updating to 15.1 is sufficient to clear any
+ leaked temporary-table storage. However, if you suffered any
+ database crashes while using 15.0, and there might have been
+ large tables dropped just before such crashes, it's advisable
+ to check the database directories for files named according to the
+ pattern
+ <literal><replaceable>NNNN</replaceable>.<replaceable>NN</replaceable></literal>.
+ If there is no matching file named
+ just <literal><replaceable>NNNN</replaceable></literal> (without
+ the <literal>.<replaceable>NN</replaceable></literal> suffix), these
+ files should be removed manually.
+ </para>
+ </listitem>
+
+ <listitem>
+<!--
+Author: Tom Lane <tgl@sss.pgh.pa.us>
Branch: master [b8f2687fd] 2022-10-11 18:24:14 -0400
Branch: REL_15_STABLE [07ce67698] 2022-10-11 18:24:14 -0400
Branch: REL_14_STABLE [3162bd95c] 2022-10-11 18:24:14 -0400