Re: BUG #19508: pg_buffercache_pages() crashes the backend with an incompatible caller-supplied record definition

Fujii Masao <masao.fujii@gmail.com>

From: Fujii Masao <masao.fujii@gmail.com>
To: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Cc: Калинин Никита <n.kalinin@postgrespro.ru>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2026-06-08T23:44:50Z
Lists: pgsql-bugs
On Fri, Jun 5, 2026 at 5:48 PM Ayush Tiwari <ayushtiwari.slg01@gmail.com> wrote:
>> Agreed. I've fixed that and attached an updated version of the patch.
>
>
> LGTM.

Barring any objections, I will commit the patch.

Regards,

-- 
Fujii Masao



Commits

  1. pg_buffercache: restore rowtype verification in pg_buffercache_pages()

  2. Modernize and optimize pg_buffercache_pages()