agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use fake LSNs consistently in hash index AM.
Date: Thu, 16 Jul 2026 22:10:52 +0000
Message-ID: <E1wkUI7-000WdW-1L@gemulon.postgresql.org> (raw)

Use fake LSNs consistently in hash index AM.

Defensively make sure that all hash index atomic actions use a fake LSN
with an unlogged relation.

Oversight in commit e5836f7b, which added fake LSN support to the hash
index AM, but missed log_split_page.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-by: Ewan Young <kdbase.hack@gmail.com>
Discussion: https://postgr.es/m/CAH2-WzkC-opX8iS6X=a470DDC31er_x5rzPw=HjRxha9N8brZw@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cea74f48d36bc1073da0adab755946ad94aa6902

Modified Files
--------------
src/backend/access/hash/hashpage.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1wkUI7-000WdW-1L@gemulon.postgresql.org>
Permalink:  ../E1wkUI7-000WdW-1L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wkUI7-000WdW-1L@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: pg@bowt.ie, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use fake LSNs consistently in hash index AM.
  In-Reply-To: <E1wkUI7-000WdW-1L@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox