Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVqv1-0004iU-Oc for pgsql-committers@arkaria.postgresql.org; Mon, 12 Apr 2021 07:23:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lVqv0-0000OE-Hl for pgsql-committers@arkaria.postgresql.org; Mon, 12 Apr 2021 07:23:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVquz-0000O6-Mz for pgsql-committers@lists.postgresql.org; Mon, 12 Apr 2021 07:23:34 +0000 Received: from forward2-smtp.messagingengine.com ([66.111.4.226]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVqus-0007gQ-JM for pgsql-committers@lists.postgresql.org; Mon, 12 Apr 2021 07:23:32 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailforward.nyi.internal (Postfix) with ESMTP id 3F36B1940739; Mon, 12 Apr 2021 03:23:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 12 Apr 2021 03:23:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Yql+nVMWR+o7d+L3kN0BQ/woQp8yCm7ixTvVvRVRd 2M=; b=O2MzaLAzJIjpOJCsTiCfuGQsQjOUkyb3Z0c/nqHRwv1EZH8HG5k+z/jDY 7xMyaKWbP+hfFjjFhLT85NW/ULPPsbu8p6QOMtdP5Zy9zLPs3CWpH9iNoinV4QS/ KAYIlYZ6vDCZfMVKXaWjl6kOrluiqj0JCc2u7wWlittZOz0/bqSBdOAlhoGCGpYU ymSS514vZp3x5WpTHY/Ko6pZzgBsSeVpRn7ixiYDdKu+lLb1ETCQoScamDeXtpM3 c/5TXfm8KKYJkjeYfbGFslc7d3SB0GCsjIXnztf/DURYdvFIstydMq/9AUtrtIav nvKHtqyCDDS3H22w/mxa3z6be9RfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekiedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgv rhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomheqnecuggftrf grthhtvghrnhepleevheehueeiudeiteeitdekueetleefteejffeiffdugedvffdvffdt iedvueeknecukfhppeelfedrvddtvddrvdehfedrudegfeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: from laptop206oxuk.local (p5dcafd8f.dip0.t-ipconnect.de [93.202.253.143]) by mail.messagingengine.com (Postfix) with ESMTPA id 887B724005C; Mon, 12 Apr 2021 03:23:22 -0400 (EDT) Subject: Re: pgsql: Silence some Coverity warnings and improve code consistency. To: Tom Lane , pgsql-committers@lists.postgresql.org References: From: Peter Eisentraut Message-ID: <3f7a17f6-42e4-9de8-9984-4b0bbdec737f@enterprisedb.com> Date: Mon, 12 Apr 2021 09:23:20 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11.04.21 23:02, Tom Lane wrote: > ... or more accurately, with an LL constant, which is not project > style. Make all of these use INT64CONST(), as we do elsewhere. I think this style could be considered obsolete because C99 requires LL constants, and configure checks for it.