pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused check in heap_xlog_insert()
Date: Thu, 26 Jun 2025 19:08:28 +0000
Message-ID: <E1uUrxU-003TK7-0K@gemulon.postgresql.org> (raw)

Remove unused check in heap_xlog_insert()

8e03eb92e9a reverted the commit 39b66a91bd which allowed freezing
in the heap_insert() code path but forgot to remove the corresponding
check in heap_xlog_insert(). This code is extraneous but not harmful.
However, cleaning it up makes it very clear that, as of now, we do not
support any freezing of pages in the heap_insert() path.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Tomas Vondra <tomas@vondra.me>
Discussion: https://postgr.es/m/flat/CAAKRu_Zp4Pi-t51OFWm1YZ-cctDfBhHCMZ%3DEx6PKxv0o8y2GvA%40mail.gmail.com
Backpatch-through: 14

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/40c9b4d8dafc7e573df1f783d22be292a0ed323b

Modified Files
--------------
src/backend/access/heap/heapam.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1uUrxU-003TK7-0K@gemulon.postgresql.org>
Permalink:  ../E1uUrxU-003TK7-0K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uUrxU-003TK7-0K@gemulon.postgresql.org

 · 

reply

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: melanieplageman@gmail.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove unused check in heap_xlog_insert()
  In-Reply-To: <E1uUrxU-003TK7-0K@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