Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vujEL-003TDU-0j for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Feb 2026 03:37:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vujEK-00GhEZ-0I for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Feb 2026 03:37:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vujEJ-00GhER-0i for pgsql-hackers@lists.postgresql.org; Tue, 24 Feb 2026 03:36:59 +0000 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vujEG-00000000thd-1Df3 for pgsql-hackers@postgresql.org; Tue, 24 Feb 2026 03:36:58 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4E60A140019E; Mon, 23 Feb 2026 22:36:56 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Mon, 23 Feb 2026 22:36:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1771904216; x=1771990616; bh=Ywi7myHmO6 EkQyx+UMR3zHxCx64unIylUP5I7glW4z4=; b=fpQ6GzJvdGPXWmCyRYZaRFAXwk 5xXB1nFxlxojA2Brzs/xsFYlvYNbzUc95RlYcD3HyopFwrTmrSkJEnlYpLJFb3Em BDczNuUvrUOE6WSTAii5Uj6Mt1yEOYCrpLcybrem6tb1jvrfllOJ6GiOEui82l1U 1O/n5zi/QfrEaTcGBmknWyWi1c5i1j7Nq6j7gODuUlWxwFYE1XKyGcIXWIkkxVuY 78yEiSrKe+j3LnY3arN4OOD91RJGd6D3bB1834zIplrIIFg7ypO5+2jDZeTvf1zX 3PCPVxQmtYq9aaoGQGg1Y8eTpQd3HjdxCZCDOUW/wgSnol1J+RG59ZaI2rrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1771904216; x=1771990616; bh=Ywi7myHmO6EkQyx+UMR3zHxCx64unIylUP5 I7glW4z4=; b=B3JnVj5/cN9N3yTw1lP3cvwV+M210yXcGA18YNxQZxja9pSM9XJ ck7bMxLxPEyXs+nCCcwq6y66mLVafbFNlhyS86Gq+bY6/T2nsfPU93fvDN7Kk0xp cE4Facrog0ZodPfbd03Rl9hGJAJuWObe7kMeLUoVtnm/ELY72wCKRjk9yKV4VsuD 2yL3Da4fDKFLhDvTeO2yXxkkoqN8TLPvdyHU5ngsRNiC80OZXjRd0C9W34nDmxqC jhLCV/MUJcVb2LCopkI6oYicqfKA9oc31DqGC8D85XSmZrA0cNZ1rYkPVjwqKuws pteDD9sZlOG9dHYPE6II7CgIVKOQX6k73hA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvfeeltdelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghnug hrvggrshesphhrohigvghlrdhsvgdprhgtphhtthhopehhvghnrhhikhestdiggeekrdgu khdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhgrhgvshhqlhdroh hrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Feb 2026 22:36:54 -0500 (EST) Date: Tue, 24 Feb 2026 12:36:50 +0900 From: Michael Paquier To: Andreas Karlsson Cc: Henrik TJ , PostgreSQL Hackers Subject: Re: Use pg_malloc macros in src/fe_utils Message-ID: References: <6df1b64e-1314-9afd-41a3-3fefb76225e1@0x48.dk> <93102cd4-5e35-4392-8700-e6e2fee847fd@proxel.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="irsHdqYyQsvyPSEt" Content-Disposition: inline In-Reply-To: <93102cd4-5e35-4392-8700-e6e2fee847fd@proxel.se> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --irsHdqYyQsvyPSEt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --irsHdqYyQsvyPSEt Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmdHNIACgkQnvQgOdby QH0XSxAAhz1/WJ66YNUpRH7vbMETBbX6OTP9Wf5IIXbx11en86HX/2n5yW8N3R58 rJ0U+VRoMdYPl7FUaDMR8sRjXK1XhkZNdiQYZe2TdJxMn5kqQKmgmoiO+/6epjeA PfzDbnPwrQpDPKQ7OaCDfDy75ldqRxWgRy0+jxhryMtCl6qrsL04sExUdhqcvTID c7FSRkoa1B0jzJV4CyUQA8CYsnjrVS4HhBe3SoJvWqXDkqwD9+2CrUNdT/C58ECD Af7Ztx2ZvChDE2FHha993JB3sZexuJySNznkYtXm4T9Xf0DH1ARZ9HEyDVfgVtoS afj95/ivdZVrF/6U1MH+NrqaJa+RuNwgMokpv41ZX8VvGfDT5n3z2Ms94vK7Kz56 bp/tboaEUyoBCdCQ0rpnqwNwo0HG0SxJ4oJzmWiA6YjnbJAftrTuMBc/V7ncTaNe 34r3XWEzR3p0iqO2SHqq7RLd1OjnfY58PcFHPA6PdPg9TfYRrdxpO4TE1AbrntHj PW42ELZVzUa6Da+KkRxQ8aYFDmkolJy4c2ovfwNotrP9dunI2rKyXd+UH9WU4D4l wmWip77c98zZnEJlBu6h/x1A5AE9aTj00VH2oLcRPk+RO6ghcxdG210m82n56Qkx XVj8Fne5yTD/zpDkw7ZeSLtCjvQLnmkB1zkHNchJ38wFqicuPRA= =J1N3 -----END PGP SIGNATURE----- --irsHdqYyQsvyPSEt--