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

From Ayush Tiwari
Subject Re: BUG #19508: pg_buffercache_pages() crashes the backend with an incompatible caller-supplied record definition
Date
Msg-id CAJTYsWWqUf2bEAwGfaJvLmokRXBn4yGKVD=jmysnQV9dmv1fwA@mail.gmail.com
Whole thread
In response to Re: BUG #19508: pg_buffercache_pages() crashes the backend with an incompatible caller-supplied record definition  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-bugs
Hi,

On Fri, 5 Jun, 2026, 13:28 Fujii Masao, <masao.fujii@gmail.com> wrote:
On Fri, Jun 5, 2026 at 12:42 PM Ayush Tiwari
<ayushtiwari.slg01@gmail.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

pgsql-bugs by date:

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