From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove EXTENSION_DONT_CHECK_SIZE from md.c.
Date: Sat, 14 Dec 2024 08:51:40 +0000
Message-ID: <E1tMNsB-002eyM-UV@gemulon.postgresql.org> (raw)
Remove EXTENSION_DONT_CHECK_SIZE from md.c.
Commits 7bb3102c and 3eb77eba removed the only user of the
EXTENSION_DONT_CHECK_SIZE flag, which had previously been required to
checkpoint truncated relations. Since 7bb3102c, segments have been
opened directly for synchronization without calling _mdfd_getseg(), so
it doesn't need a mode that tolerates non-final short segments. Remove
the redundant flag and associated comments.
Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/nyj4k7yur5t27rtygvx2i2lrlp6rqfvvhoiiwx4fznynksf2et%404hj2sp42alpe
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/48c142f78d90fcdcbc0557a4bcdc4f47ec32b333
Modified Files
--------------
src/backend/storage/smgr/md.c | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove EXTENSION_DONT_CHECK_SIZE from md.c.
In-Reply-To: <E1tMNsB-002eyM-UV@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox