Re: [PATCH] pageinspect: validate line pointers before using them

From: Baji Shaik <baji(dot)pgdev(at)gmail(dot)com>
To: shihao zhong <zhong950419(at)gmail(dot)com>
Cc: Greg Burd <greg(at)burd(dot)me>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] pageinspect: validate line pointers before using them
Date: 2026-12-03 23:36:14
Message-ID: CA+fm-RMVbeYNiQV7n6K0Z2sEJXcT=wrEefeQXrn9+hAzcjQncA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 2, 2026 at 8:36 PM shihao zhong <zhong950419(at)gmail(dot)com> wrote:

> Thanks for testing this and for the fix. I folded it into 0001 and
> added you as a co-author.
>
> v6 uses ERRCODE_DATA_CORRUPTED for all the checks this series adds.
> The existing errors about the page type stay as they are.
>

Hi Shihao,

Thanks for folding it in. I tested v6 on master and both patches apply
cleanly.
v6 looks good to me.

Thanks,
Baji Shaik

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-12-03 23:37:27 Re: Why is the LSN reported for pg_logical_emit_message() different from other decoded operations?
Previous Message Zsolt Parragi 2026-12-03 23:26:18 Re: Back-patch v19 improvements to common/int128.h?