Re: [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Paul Bunn <paul(dot)bunn(at)icloud(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path
Date: 2026-03-04 00:52:18
Message-ID: aaeCQk2ScyR2m5D1@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 04, 2026 at 12:36:09AM +0000, Paul Bunn wrote:
> The +1 absorbs the ceiling. -- Hopefully I've
> followed the correct format for creating a patch -- this is my first
> post here.

The email you have sent with the patch attached is a bit weird. First
it renders incorrectly on the website, same way as my email client:
https://www.postgresql.org/message-id/ba161ba1-9d5f-409d-9826-40d076d4ca2b%40me.com

Then, this is attached to an existing thread. You should not do that
for clarity.

Anyway, about the patch, could you provide a self-contained SQL
sequence that proves your point? That would be helpful in terms of
analyzing what you think is a problem and what you think could be a
potential solution.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-03-04 01:02:29 Re: Add pg_stat_recovery system view
Previous Message Xuneng Zhou 2026-03-04 00:49:44 Re: amcheck: fix bug of missing corruption in allequalimage validation