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 1q8VcJ-0005OW-WE for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Jun 2023 00:41:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q8VcI-0001M2-Lc for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Jun 2023 00:41:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q8VcI-0001Lt-C4 for pgsql-hackers@lists.postgresql.org; Mon, 12 Jun 2023 00:41:06 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q8VcD-001kO9-Eq for pgsql-hackers@postgresql.org; Mon, 12 Jun 2023 00:41:05 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id D6AF432002F9; Sun, 11 Jun 2023 20:40:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 11 Jun 2023 20:40:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1686530457; x=1686616857; bh=tJ 78+/OiLpV5tskQ9ljOHqbI+M/ZfalOp1m2akDoZZ8=; b=KhprzP2GTxcg1D2+G6 DvjpBQDfCmzSCf9EiTMwBvA9AbkdwnrAC2dyq18uqSjo902xpoL7ZeHAaB9YCb30 FKxGNWp/CyifavBxGTflKG2jgmmNgKvArG1s7VYmsy743aPzWBqRjyYFFOpukxVw ZztyxEVSSrtr6NUHeVvLIqOuBjJN3YpxMSlR3ODmqQawH4PtIFFEtxqxenQjIV4l PhfsEmJQi3Oh/tiAIjG0KX44Ab5JN88Rhi2JKfYavmZXeNNyHcXYfeLAbvixwmA/ XuUTdJNiplBamzOYEDF6gmZDJctLAgPhdciht80EAt/zNc/Wb36mqLzMYrVx1/ii Tt3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1686530457; x=1686616857; bh=tJ78+/OiLpV5t skQ9ljOHqbI+M/ZfalOp1m2akDoZZ8=; b=qmkH4zcZnEe0f4BTSfkQZv36H48j0 QcQ5x1AnPZgxLUBrY4cTWvQf3c2uFJRq7GCht4hPk2hXGJUzceSzgophNMCENZrq m5bzLioylMd4VcJPdRnYmjVV07TEjHeEQTdOoUhcSfTvPS9LxJSFFOQlTMs5AaO0 IvLwaMFkz9yWt8DcRXdJh2SHNX10nvlUgogwz/IkEakxqWfNfCcpBzrGagudMLwY DIjY1ATmxJhu4Pjo62mKnDuDEaMKvvf8gy1f+RfYhH3VhXo3tN1AQWytai/iDAni yIvBpcVgE/36VPgRnYXjaMWVHp8XKpeCNts1hw3usgPuEmwIbrJ8XyG6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedugecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 11 Jun 2023 20:40:55 -0400 (EDT) Date: Mon, 12 Jun 2023 09:40:52 +0900 From: Michael Paquier To: Peter Eisentraut Cc: Tom Lane , Noah Misch , pgsql-hackers@postgresql.org Subject: Re: v16 fails to build w/ Visual Studio 2015 Message-ID: References: <20230607185458.GA1334487@rfd.leadboat.com> <428085.1686172597@sss.pgh.pa.us> <99515c92-dd99-b728-0195-c38b8fd95d2f@eisentraut.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+UGQNHtjEUqvW2I1" Content-Disposition: inline In-Reply-To: <99515c92-dd99-b728-0195-c38b8fd95d2f@eisentraut.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --+UGQNHtjEUqvW2I1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 07, 2023 at 11:35:34PM +0200, Peter Eisentraut wrote: > I kind of like the style where there is only one return at the end, because > it makes it easier to inject debugging code that inspects the return value. I kind of disagree here, the previous style is a bit ugly-ish, with the code generated by gen_node_support.pl being dependent on this local call because it is necessary to know about return_value: - if (false) - ; #include "readfuncs.switch.c" So +1 for what's proposed. -- Michael --+UGQNHtjEUqvW2I1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmSGaZQACgkQnvQgOdby QH099hAAgVSpBzzv3YproB9i7MaDj5uESqcMXD3vFSQurFulrNlnylodfpYe/wVn k204rSqBEbuLaolhIHbN4JmGsb8n+ybh60QNJHl5iDz2sqG12jcnY2UGzjl+CR8w p1vzV/u+h4HE27sEftkifCpNa0rZKeI0GxNHkTveVVKEajVeO5UB27/rEX/tliTj S+NYZqGiT3Z4KaxWf81kjs9X2KGnrWrI0PU20QEggpwgV7v9ZuI6HqJJqNtm1kK9 fjYAvB+SCSTssWs5+1SyvpPfcgS4K6ug2TV8OBB48pLyRQ3uy3TAmyZsbr2VY9o2 rAtCAHOIFrDTPEOYKN2m9aTW9prnvNHFLjaMGbeGe+DOr+ukPZPWRtO3++B9d3/h ZJJTPau0BCzkZWqYa7MnuEMQfR2Xu3pZX1wnyfeA2HZAjZ79kPjxvN/YV9vG/Mz4 nWwtf2i7u9XsmkIHEdVeQ4nBcQBsTC8cHWIDYcfzVx+FFNLjJORzyGFC1DgLIG+O GU/W5IE67F2wVmGuWOZ8gGc3Rjwtbnx8HF6ci39P+nB02KahqW2COy1azIwJ2Pzt YVdaD7kvJh5TRLLxqCbqxT+lKuTomNF2o77Gcw3KZF+gAYLoLPQ6v9loMVFTKcts QlL9uYGXM82WKNspqYHJp11OoL/FesyjmnAyEOotPeqxY9vebx8= =Azad -----END PGP SIGNATURE----- --+UGQNHtjEUqvW2I1--