pgsql: Use fake LSNs consistently in hash index AM.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use fake LSNs consistently in hash index AM.
Date: 2026-07-16 22:10:52
Message-ID: E1wkUI7-000WdY-1P@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)bowt(dot)ie>
Reviewed-by: Ewan Young <kdbase(dot)hack(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAH2-WzkC-opX8iS6X=a470DDC31er_x5rzPw=HjRxha9N8brZw@mail.gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/048067c04c6c0c0862f0e00c4ebe158ac41bda19

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-07-16 22:50:42 pgsql: Remove SQL function getpgusername()
Previous Message Masahiko Sawada 2026-07-16 19:22:02 pgsql: pg_controldata: Show logical decoding status.