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.94.2) (envelope-from ) id 1t5iT5-007u9j-L5 for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 09:24:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t5iS4-00EVVh-Sj for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2024 09:23:49 +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.94.2) (envelope-from ) id 1t5iS3-00EVVU-97 for pgsql-hackers@lists.postgresql.org; Tue, 29 Oct 2024 09:23:48 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5iRw-003QIb-MX for pgsql-hackers@lists.postgresql.org; Tue, 29 Oct 2024 09:23:45 +0000 Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id 67E6F1380240; Tue, 29 Oct 2024 05:23:39 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Tue, 29 Oct 2024 05:23:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding: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=fm2; t=1730193819; x=1730280219; bh=FCcTG1Q94sSsXKg2m51trGlz8OA8BMwI HtppE25WLC8=; b=PPr5P7Y3+phjKyY3IHate7N815Y36ioHobpj1oaKrmy+ZCku 3YzffymdsSL0EI2nqdnDUPrVZZSRQ7MSu2mDkbyZWJZ1gGcVSqrNnlLhH9BLierZ juMgF4SLYOZ/5oadpGH9ySw0eDGU/i82ZUNaj6IlU3hUrsqxQqy72rMCbaqhPicI LAsuXyZVhvt4gdiF7vqpT7FpTsSVEchsG167jRiS6UAWcqJkiGE3yYQtMSJv20Kv 9c4DSF+A/zOlScLTIAETd2HXPHVkgfPKvALyDNhkBDeC/6LMgOPi5G1ayLjLkonN +7UJ7BxsUE6UiY0YOdIl///X44hrLlJmu00Ayw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=1730193819; x= 1730280219; bh=FCcTG1Q94sSsXKg2m51trGlz8OA8BMwIHtppE25WLC8=; b=Y Zwv1ArWVNKsqhuveREHH22dm/7k6PSzviqXFBBG2E7gnJww+UqDKpC5Ut7DUoDhu wsaEZnmO0fFeSygAhz00jLrEgzSaK3VabjNvlZOfVKmvbZMRM3HyDNnnZGOyx4zK boOzASn6TQkVr9lRAaV5snVs31ixnC2wX5KStZSr3yAxJPBAqZhPkYAzCDj50t2E WsjKyh9naEvJKhRRFtKpA74A4TUj2Bvm9Af63Id2qBo6iG31SxFCfsvtNnkw1Jhi /NQTde9ln+IvEF4FZ3aMVPi4i0/5pxwE3EbuIYBPcod49jVKZmluMC6ajFwZesgl iU7dS1H0rMhLEfVQM4K+w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdektddgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghish gvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpefgjedthfekfedtuefgieel heetleejgefhueeltdfhueetvdffudekfeejhfegheenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdr ohhrghdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epsggvrhhtrhgrnhguughrohhuvhhothdrphhgsehgmhgrihhlrdgtohhmpdhrtghpthht ohephhhlihhnnhgrkhgrsehikhhirdhfihdprhgtphhtthhopehpghhsqhhlqdhhrggtkh gvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Oct 2024 05:23:38 -0400 (EDT) Message-ID: Date: Tue, 29 Oct 2024 10:23:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: define pg_structiszero(addr, s, r) To: Bertrand Drouvot , Heikki Linnakangas Cc: pgsql-hackers@lists.postgresql.org References: <3023d29e-0fe7-4bec-9028-7f3c0102e437@eisentraut.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 29.10.24 08:54, Bertrand Drouvot wrote: > +static inline bool > +pg_mem_is_all_zeros(const char *p, size_t len) This should be a void * pointer please.