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 1m3DEY-00035p-Br for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jul 2021 07:53:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m3DEW-0003q5-M2 for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jul 2021 07:53:36 +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 1m3DEW-0003pw-EI for pgsql-hackers@lists.postgresql.org; Tue, 13 Jul 2021 07:53:36 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3DEQ-0008MU-5H for pgsql-hackers@lists.postgresql.org; Tue, 13 Jul 2021 07:53:35 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 845DF3200996; Tue, 13 Jul 2021 03:53:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 13 Jul 2021 03:53:28 -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=fm2; bh=upxYBesnB/iytv0akY5smtERJn6 TFnRVa33mMAlCAa4=; b=YMlEuCn39KnoWHhLe8x0ZtOh+teZig9lu1tDECjDq/2 zd3TCnxUUMr2u+2w1YuGdR9pOdFlrDS+VhUukrlHoi4H7SHjxqj0yUD0Bnda5GWc zWSld2UH38ZoBdIN7vxPbwUXfb93xeAvJnYssUmbZ91fAkyjTe/nhrsBMZUlS5Uy qUoJRZ6zFKlbyT/TP/IHGIq2iTR8mYrsjzPphHBJIaHrmux1sRFNIQHxKAqAxrS/ iWTV3QaRXHufz4OF8/y6YziLMQ5jOjHiApayauElUtZuKFMVov9cQeEyvNHSJVAv ptheNEYe0P6d8H9DVhfZPoR++m72mJoJ2PMPQhSW+3g== 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=fm3; bh=upxYBe snB/iytv0akY5smtERJn6TFnRVa33mMAlCAa4=; b=IImFYBUP1beZUPBy2bVKis WTCiYvW5Gyg8X1D+wGOsWtJ3lVZBaOFr1VMdG5fLDRWBAHJ/Gvblk/g/DGiuU+yo aXCabDlyLC5S5M2E6gMKSdy1aIc6H0KB3wxxX69Q4gECnmUNjdqtsvo7uKRLoomB kze7/UWahd+o0Shr0jNSmqAVb16abGB5dPKDJPR3LYjIm0ONU6K6Hbzk3qP8wVHi X/H9+oA/Kt52hLcPUFTcxnlTyXHHQhy5rGg7UrDGOHCMtGgITmgO5kqElx1IswSG WV+LDgXsFBDmpMm+L2KPO7r/zEt+OygwFIGQ5FKBTwkAmCOXyo+lYjS9zjsp04mQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeggdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 13 Jul 2021 03:53:26 -0400 (EDT) Date: Tue, 13 Jul 2021 16:53:21 +0900 From: Michael Paquier To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org, Peter Eisentraut Subject: Re: Bogus HAVE_DECL_FOO entries in msvc/Solution.pm Message-ID: References: <3185430.1626133592@sss.pgh.pa.us> <3198753.1626150306@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kLjI2Cpm1L8aEKi0" Content-Disposition: inline In-Reply-To: <3198753.1626150306@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --kLjI2Cpm1L8aEKi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 13, 2021 at 12:25:06AM -0400, Tom Lane wrote: > That's easy enough in v13 and up, which have 8f4fb4c64 so that > Solution.pm looks like this. We could make it consistent in older > branches by manually hacking pg_config.h.win32 ... but I'm wondering > if the smarter plan wouldn't be to back-patch 8f4fb4c64. Without > that, we're at risk of messing up anytime we back-patch something > that involves a change in the set of configure-defined symbols, which > we do with some regularity. I was thinking to just do the easiest move and fix this issue down to 13, not bothering about older branches :p Looking at the commit, a backpatch is not that complicated and it is possible to check the generation of pg_config.h on non-MSVC environments if some objects are missing. Still, I think that it would be better to be careful and test this code properly on Windows with a real build. It means that.. Err... Andrew or I should look at that. I am not sure that the potential maintenance gain is worth poking at the stable branches, to be honest. -- Michael --kLjI2Cpm1L8aEKi0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmDtRnEACgkQnvQgOdby QH0nTw//c+CC2MOr33i4SaLRKa/jEId338PpnyB8HJFwJz4wHXr9dy+qg7oro27C i3Gg3w94Rd1SS81IOBUgHWWW7qWMNOLzi23rD3PskZsfL7OOdnwp6Fe+IjTy+e8a dLGY5QZr3p5SIC/fOsAjTZ3E6kzGKyk+j1StQ/GMcVz8iPy4tfk2Ei9qO0cKiX5Y hTfJjTzesBCtUBHYWfg78EJpAW8is+Wo6wzw/24W5TklfW58997OIMKXxQe1BbGS 1Qu2levzLZbJxVo7SIM9XUZQc5gQDYRKtHIfJwS1mK/ZMivfKHfmK0xzHG5DS3IA 2Eop9KPhryKA6t1TesX/r3RFOrRu93We4u7KY7t4tWalCjCQWfkoMo/o75mlLh2F 8DNzrPd57/bDGJ+liCTDSmR1E18pkNZFirnQaI+Aihlz6Lllf6a42Wib1pS/Fele 91RccLxPHn6rae1+do44K6r+XjUfAIx+f6iQzsFxQHcFHArG3/NI8CnYx3Rezws/ O+7S3tvYVCV8ioVuvMiz9s2xB8a6i+FKI1+7rrL+5uzCGYz5sB96x5GyIu1TTGzJ xyHGDPhu5Bzw8bg7WBmbCQusm0f6QEulJB+j58meh0Yu76GRMpe0XxwdkLQ9ncdK MlltkDuF/mej7rdqLsW/IDknPSIgyKb4nXVoxZBgDZa76sdySZE= =wnpA -----END PGP SIGNATURE----- --kLjI2Cpm1L8aEKi0--