Re: [PATCH] pg_surgery: check the page header and line pointers

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] pg_surgery: check the page header and line pointers
Date: 2026-09-05 20:12:49
Message-ID: CAGRkXqT7T4Kk48esHFA6xb_B3s_T_t2Sz8PGCYWLb7G2dzD2ag@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andrey,

> Otherwise a 4 kB build rejects
> the header in PageIsVerified() before reaching the new check.

Haven't thought about that, updated tests with dynamic block_size.

> the comment can avoid
> claiming those exact values.

Also haven't thought about that, updated.

Thanks,
Shihao

Attachment Content-Type Size
v3-0001-pg_surgery-bound-the-page-s-max-offset-by-MaxHeap.patch application/octet-stream 7.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Andrey Borodin 2026-09-05 18:19:14 Re: [PATCH v1 0/7] Wait event timing and tracing instrumentation