Re: Fix memory leak in gist_page_items() of pageinspect - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: Fix memory leak in gist_page_items() of pageinspect
Date
Msg-id aUUob2r26L1JCaSJ@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: Fix memory leak in gist_page_items() of pageinspect  (Japin Li <japinli@hotmail.com>)
List pgsql-hackers
Hi,

On Fri, Dec 19, 2025 at 05:36:51PM +0800, Japin Li wrote:
> On Fri, 19 Dec 2025 at 08:23, Bertrand Drouvot <bertranddrouvot.pg@gmail.com> wrote:
> > Yeah that would not hurt. What about before the relation_open() calls?
> >
> > "
> > Use relation_open() and not index_open() to avoid the validate_relation_kind()
> > check as we handle relation validation separately below.
> > "
> >
> 
> LGTM.

Thanks! Done that way in the attached.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Orphaned records in pg_replication_origin_status after subscription drop
Next
From: Fujii Masao
Date:
Subject: Re: Allow GUC settings in CREATE SUBSCRIPTION CONNECTION to take effect