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

From: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Калинин Никита <n(dot)kalinin(at)postgrespro(dot)ru>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #19508: pg_buffercache_pages() crashes the backend with an incompatible caller-supplied record definition
Date: 2026-06-05 08:47:58
Message-ID: CAJTYsWWqUf2bEAwGfaJvLmokRXBn4yGKVD=jmysnQV9dmv1fwA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On Fri, 5 Jun, 2026, 13:28 Fujii Masao, <masao(dot)fujii(at)gmail(dot)com> wrote:

> On Fri, Jun 5, 2026 at 12:42 PM Ayush Tiwari
> <ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
> > One small nit: build_buffercache_pages_tupledesc() names attribute 8
> > "usage_count", while the existing pg_buffercache view and the test use
> > "usagecount". This probably does not affect the tupledesc_match() check,
> > but I think it would be better to keep the existing spelling for
> > consistency.
>
> Agreed. I've fixed that and attached an updated version of the patch.
>

LGTM.

Regards,
Ayush

>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Langote 2026-06-05 08:58:14 Re: BUG #19458: OOM killer in jsonb_path_exists_opr (@?) with malformed JSONPath containing non-existent variables
Previous Message Zhijie Hou (Fujitsu) 2026-06-05 08:08:07 RE: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API