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 1iODEu-0000kj-Hc for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Oct 2019 03:59:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iODEt-0002m1-12 for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Oct 2019 03:59:43 +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 1iODEs-0002lu-LH for pgsql-hackers@lists.postgresql.org; Sat, 26 Oct 2019 03:59:42 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iODEl-0002dj-4y for pgsql-hackers@lists.postgresql.org; Sat, 26 Oct 2019 03:59:41 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0F6392221D; Fri, 25 Oct 2019 23:59:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 25 Oct 2019 23:59:34 -0400 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=tprlz7W9vb5llT9hOkiE4sey3y7 VrEA/uloAlqouD8o=; b=UyzEnu3p5whL2p19RMorzw4fzXKIjNtnMHl+CwoY11a 0XzJhQIpyHIu4/AkdYOkCJSEK68ewBPUasvJNpFXmRg/FyBjIxquBEfudFOwi6fQ LaBbYJ2VrPnbWamoy81DxKI8ULtAgubPOOxiWLlM9f/nLsKGArHxaSfrLbnazsIZ Eu5llrk7zWZLefOXkDpcDDQJJlT05yPL5JtHULUWh10hDk5KUJpszsqDIkEBXWMB ofGkZFpACWPls3p9LNovWr7CLqeRrX1b4JQagM9glrGTiVkB5bZGMXGLc1WYplZ4 SIoPHF4k69fYNRirWAQ4gpXdR1kd7YS3ZQMrcpkhCDQ== 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=tprlz7 W9vb5llT9hOkiE4sey3y7VrEA/uloAlqouD8o=; b=TogclRWPNCvSzdFZWQDgZe ZT8g8C2kUi5NFgjDeb5UyR+1UwCIAINf0UcCfegnFkc3fVQXoNyTUNqZuajujFNC Zm2ikTbbIVXWwucX2a2sKMc4ATNnCspoPnTgHBJQoQQUeIE+Fh6/m81J2ug6qG2U c7fmFz8Lvo77sfPrNezPjmeJmeuWQmDqtgVQx8jFqVeLMLtuWJ8xoKfkpCRMZD4E knKWewzoA3f7pOzoHxqlNsr7DJPJ29ku8s3+qNrwITfOI84DwRlo4IeEtLi+b77j tV1TonuMDpUiUc7OCYW6qDhAZ3Nz2hHZDhAVuWn4fE8Q+LdkjAQ+UHueHwBlSCHQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrleeggdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduuddurddutddvrddukedtrddukeehnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd 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 B34CCD6005E; Fri, 25 Oct 2019 23:59:32 -0400 (EDT) Date: Sat, 26 Oct 2019 12:59:30 +0900 From: Michael Paquier To: Victor Spirin Cc: pgsql-hackers@lists.postgresql.org Subject: Re: psql tab-complete Message-ID: <20191026035930.GD2084@paquier.xyz> References: <8d4e41ab-f001-fe9c-d796-a7b584a3c7f6@2ndQuadrant.com> <84e2eed6-63ec-b01e-2485-0f8e86da08df@postgrespro.ru> <11049.1571953711@sss.pgh.pa.us> <9dec5038-548e-91f9-df14-8825f7aa7c5c@postgrespro.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bajzpZikUji1w+G9" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --bajzpZikUji1w+G9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 25, 2019 at 11:57:18AM +0300, Victor Spirin wrote: > This patch resolved one problem in the tab-complete.c on MSVC. The > VA_ARGS_NARGS macros now work correctly on Windows. Can you explain why and in what the use of EXPAND() helps with MSVC builds? Any references which help to understand why this is better? If this change is needed, this also surely needs a comment to explain the difference. -- Michael --bajzpZikUji1w+G9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl2zxKIACgkQnvQgOdby QH0+sg//Yk0DF7h6BHnpaNi/RScBheNlkPEgMhQUyCPqaHo2RD2IbLhf5yorMOls 6WycOqcfMfqXVbuq2Iw/xNQVK6I1ZfpFlRsXkhq7lF5d9QyjV3swyuunjw3TTKxD c3kkS7Y7BfslKBZ5yqsx6iVpWZxD/XZ8i35EctKMu+VBX0ji+HwFhIgxNg2z5PMF 87I43koqs0Cvhxlm0JW/n+HH8xuHZhZNujvx0noCOpsVk0P/o1p7USpywSRC7jUo r5Nc6T7IDqvSKHihQGDXv7mWntiyK+FZl7MQNXwsTQInKKQJ/rRHOTYdGgTMVjvM y6TGSeOXErbN3SN69SzBIUbUtBojvZHiYigfRGQoocnT7g0z9sQbvmDLk6+xGwp4 AMwBs5qsTk0GUzrdByUap/d+8MzZGWZJ7MxRbPGzChgBstd1oZ6M0Qqb4UNMuFO1 cnA4Yr+k3mX8w70oEibXFzjwDURoVyr4wHcJYtc+oAEm8vuO5FtmUXMJdiDZNv6N MNVkukPBHFrEGwFyLPCF0j4rAh8zHvnbJ2sSIsNC8hsE7ZQ+Nb14qLvarRrFkdVs fO/Ie8LYNOva7wdxj+4dcNNIeSGJeIEw4lMVZP3o/aRAqII5Q438FDlqtHJ40DVi IpVCy8I201m8J9tjlAIXIWnqf9Qo0WiTyA6He7wmATRZwaR0UuI= =iPQL -----END PGP SIGNATURE----- --bajzpZikUji1w+G9--