Re: Use pg_malloc macros in src/fe_utils - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Use pg_malloc macros in src/fe_utils
Date
Msg-id 93102cd4-5e35-4392-8700-e6e2fee847fd@proxel.se
Whole thread Raw
In response to Use pg_malloc macros in src/fe_utils  (Henrik TJ <henrik@0x48.dk>)
Responses Re: Use pg_malloc macros in src/fe_utils
List pgsql-hackers
On 2/18/26 4:05 PM, Henrik TJ wrote:
> Inspired by [1], I took a stab at converting src/fe_utils to the new 
> pg_malloc macros.
Thanks for the patch!

Looks like a nice change but why not just fix all instances of it in one 
swoop? It cannot be that many as there are 166 calls to pg_malloc() and 
62 calls to pg_malloc0() after your patch that need to be looked at.

-- 
Andreas Karlsson
Percona




pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Flush some statistics within running transactions
Next
From: Andreas Karlsson
Date:
Subject: Re: refactor ExecInitPartitionInfo