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

From Michael Paquier
Subject Re: Use pg_malloc macros in src/fe_utils
Date
Msg-id aZ0c0oaYi-kG4hfA@paquier.xyz
Whole thread Raw
In response to Re: Use pg_malloc macros in src/fe_utils  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Use pg_malloc macros in src/fe_utils
List pgsql-hackers
On Mon, Feb 23, 2026 at 03:17:52AM +0100, Andreas Karlsson wrote:
> 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.

FWIW, I don't really mind if these changes are proposed gradually, and
this looked fine enough on its own.  So applied.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Bryan Green
Date:
Subject: Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)
Next
From: Amul Sul
Date:
Subject: Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement