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

From Michael Paquier
Subject Re: [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path
Date
Msg-id aaeCQk2ScyR2m5D1@paquier.xyz
Whole thread Raw
In response to [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path  (Paul Bunn <paul.bunn@icloud.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: amcheck: fix bug of missing corruption in allequalimage validation
Next
From: Xuneng Zhou
Date:
Subject: Re: Add pg_stat_recovery system view