Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihUVl-0006Q4-SI for pgsql-committers@arkaria.postgresql.org; Wed, 18 Dec 2019 08:16:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ihUVk-0006xE-E9 for pgsql-committers@arkaria.postgresql.org; Wed, 18 Dec 2019 08:16:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihUVk-0006x7-39 for pgsql-committers@lists.postgresql.org; Wed, 18 Dec 2019 08:16:48 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ihUVi-0006Ey-0K for pgsql-committers@lists.postgresql.org; Wed, 18 Dec 2019 08:16:46 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6926C22011; Wed, 18 Dec 2019 03:16:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 18 Dec 2019 03:16:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=jgbY+xoHZjSV2gPtCvcm1YuzIGS p6HCxcZOuPd1uUKQ=; b=UlpGkj3ZXLm74GpBQKN5WocUy0A189BIoj5gDTs83rK ljWvpqMQBApkqhWcejpodgGHTuf6MoIoRQorjBEQ4qIUvNsV2HiZdS7ZdSPjyyHe IGqdES62+LAOUxG9sR9pz1xPpwNij0nP2aQcdbia6P/N8HndtgiIaWbLcexyKvyz QDivtqERA/F2ZZZX5VuLxed3FMq7DVC5eheLJiCgH6z/oDcoviZ2/npJbOTzLFDS zE9WENnCYfRCmreTV+hQQAqFclF4ThZYYbXbT0WZYJV9ZQyfjwydMPodj6tQeuxh UTbGOyp4F0gXagzeVljKjiuFFU38EIyOdWgHtPxuuog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; bh=jgbY+x oHZjSV2gPtCvcm1YuzIGSp6HCxcZOuPd1uUKQ=; b=ud9naHKdaoxDYnI+2mlffY yONtburo25cbIodf7G2VfPHBV28O9UM4gcekiBSGPA566pfCXQmLJCFcnymMjWpB TRORbmBk7lTC86ANHKz38ulSp998rUw/WfilF7Tf/dOUksV2paDXuOuazNfV8io3 8knhYMSqcaY1CTRZz6CSQUalGxiWZF1fJ0kjZoEgec83gaV2nCUzb9xnGiH65fbY 9BulTriHutau0JobKXD0tnc+9kzyEqXNFpncchZPpyTL8xHub4g+/AC4p5CXtyEx AeX49l1mHP/RgYK72xVc28YSscATAZVKmkSDI23XgIQAkdNfEOpHih4qfiY3jLlg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddtkedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepff fhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeduuddurd dutddvrddukedtrddukeehnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghl sehprghquhhivghrrdighiiinecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DE3C30600AB; Wed, 18 Dec 2019 03:16:24 -0500 (EST) Date: Wed, 18 Dec 2019 17:15:14 +0900 From: Michael Paquier To: er Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Refactor attribute mappings used in logical tuple conversion Message-ID: <20191218081514.GA325369@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --gKMricLos+KVdGMg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 18, 2019 at 08:43:47AM +0100, er wrote: > gcc (9.2.0) mutters this: >=20 > tupconvert.c: In function =E2=80=98execute_attr_map_tuple=E2=80=99: > tupconvert.c:146:8: warning: unused variable =E2=80=98outnatts=E2=80=99 [= -Wunused-variable] > 146 | int outnatts =3D map->outdesc->natts; > | ^~~~~~~~ >=20 > (Otherwise compiles & runs fine.) This one could use a PG_USED_FOR_ASSERTS_ONLY to work properly, but it is more simple to just remove the variable. Thanks for the report, Erik. -- Michael --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl354BIACgkQnvQgOdby QH3riw//cH4HgHMN/BSe9c3sbrDELDNMnbKF+cOjpA6X72ApOtXy8T+ub+9ldBpj 6ksu07OKTFQ0laCyQMoQW7Tl9a9ooymyvzKwZjy+Qom0G2+Turi6tvbzBwexbAfR PnHRmOWNBkLsWBhMTfEriVE6sECygCsQe+0kfRjLdcwKz0J8/y24pLDIxVwDslYJ cjhwQ5Hul5WgUSiXjVB3tQCH+yI6yGOc6Thmwbs615d4Skogk9oCvTyFc6RWfs+e Id6vcwzUpJeghdeLfVUhDu4C8vAqEdv9R6fziIKwxA8YlTZ6F6QM9BMpStNiEqZX 3/nJNOQzaXI48pPGFltn5tKgdO4SM7Oyd2lM6mZNBqJwY+23nVgLPseycYPQ5Yxe YsEMU2rdP7ECBU2k+8o7krTHC4826hPWpd/vddF1HjuxfDNxlXAGm6Sw1S5+3ghS q28Ie8ixI00p+T3wc6TitCiGvoCht9iIA7qrtSNdjuuhXLAIUBQNNINk8pHci1KW F7WoZ+nL5il1NI3UtqYtr4E3ixgqNxXkxVJDFZHqK9RD40raZ4LTy6Xccymy8xj4 Pu/OvVrDLTvjmHaX+M9ADgQUKDQEtFEo3pHPUWy/Te73u1RLHV+ZYzIDqMI1Rfcf ebgREQRm+5npRHYDrVGPQE4B7WKRReVprksO3BB/Oum3jmEcFew= =NDtv -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--