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 1wyro6-003g3F-2H for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Aug 2026 14:07:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wyro5-008NlU-28 for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Aug 2026 14:07:17 +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 1wyro4-008NlL-2o for pgsql-hackers@lists.postgresql.org; Tue, 25 Aug 2026 14:07:17 +0000 Received: from 013.lax.mailroute.net ([199.89.1.16]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wyro2-00000002M5x-369Y for pgsql-hackers@postgresql.org; Tue, 25 Aug 2026 14:07:16 +0000 Received: from localhost (localhost [127.0.0.1]) by 013.lax.mailroute.net (Postfix) with ESMTP id 4hTqNL0BVrzlfvpH; Tue, 25 Aug 2026 14:07:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mr01; t= 1787666831; x=1790258832; bh=TFNDzPxI3r8b4tvfcWymk+76vfXz38aVUm9 smkA5oTw=; b=MtkZFnR/RcmexAYaOz8nszoZeXII0fMKRJ4JbdzfJMvI4ykB0pK cCjVq7pMNg7EJVufEh1pfzlAqpraCExs6Qdt3UqqTjGVx7cmoMbdKUYG2JAVJCGc dafySYoR1DPxhCbOGhC6i4qXUCdf+YIbpBug5ErgGK8B8YDirHtMeKQUaXmYhV8b rFKujXE2gEhGryyKzqaIzI3a1tIbL9gAzyUydW1lh459WIqEysn9UIXJKnV/1M6N 3+lRxcXGWh6UQl8c7rNBqeJBq2s1FSJkWKLSfjFRa2lyd4R+vXZnY+kKqoueZHp2 vT/obzrXF2F2918RMxK3hASJu9xzQ+lqS3Q== X-Virus-Scanned: by MailRoute Received: from 013.lax.mailroute.net ([127.0.0.1]) by localhost (013.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id wWunE-WTqCgs; Tue, 25 Aug 2026 14:07:11 +0000 (UTC) Received: from [68.44.253.150] (c-68-44-253-150.hsd1.in.comcast.net [68.44.253.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jcflack@acm.org) by 013.lax.mailroute.net (Postfix) with ESMTPSA id 4hTqND1d99zlfvpM; Tue, 25 Aug 2026 14:07:07 +0000 (UTC) Subject: Re: Replace px_memset() with explicit_bzero() To: Tom Lane , Sehrope Sarkuni References: <618198.1787664052@sss.pgh.pa.us> Cc: Daniel Gustafsson , Peter Eisentraut , PostgreSQL Hackers From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <6A8DA181.2010503@acm.org> Date: Tue, 25 Aug 2026 10:06:57 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <618198.1787664052@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > +1 for fixing that. Also I think project style is to write sizeof > with parens. For as long as I can remember, I have written it with parens when applied to a type, but without parens when applied to a variable. That's long enough that I had forgotten why, but Gemini reassures me there's not only a basis in the language spec (the parens are mandatory when applied to a type) but also a widely-practiced convention to visibly distinguish the two cases. Perhaps supporting the idea of a project style that differs, many of the first hits in our tree from grep -r '\