Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enwsN-0005yj-Hq for pgsql-general@arkaria.postgresql.org; Tue, 20 Feb 2018 01:37:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enwsM-0007Af-0B for pgsql-general@arkaria.postgresql.org; Tue, 20 Feb 2018 01:37:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1enwsL-0007AW-OW for pgsql-general@lists.postgresql.org; Tue, 20 Feb 2018 01:37:45 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enwsE-0006KM-MQ for pgsql-general@lists.postgresql.org; Tue, 20 Feb 2018 01:37:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 37F6A14E7; Mon, 19 Feb 2018 20:37:37 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 19 Feb 2018 20:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=R+0CebPbLaLS7MgNTO4a4FMm1EjQYnUgaWyAgWRdXGk=; b=rxLlwbyG OW0GRLUlX+vkd1EoQh2jMnHiWmebWCxon3w4eAGvwT6xXCA1F/NNjqY1pcmFxSbr lYLfCNL6ZoBYD97P3WjezXVn3U/ZJKrrn2xzsAA4aZWufITRPKe73W33y/f+r6jq BIr2MEY3FDG04W1cVdeALC05hSicG+pAN3O+LD0uqr15lejcY3HikdJjUx95wC+M gVbOxoqbaQj+hi3gi3b3F6BxXYWa0hayczX1HNutpSS1hA0TqLq1LieBTbVcAIhL 8k5G8qz6Pf0sWWDFVQzIEcIn8P8gT8lv0Wa8iq4b1qRFpLqFH0HyFuxZnH0TWCty axRy8FZEJ+WnnA== 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-sender :x-me-sender:x-sasl-enc; s=fm2; bh=R+0CebPbLaLS7MgNTO4a4FMm1EjQY nUgaWyAgWRdXGk=; b=Dq2LT0rHbxgWaVqdNAEyhPfd1oo8GQ5aFzQ3UCZZ2mIU/ yac6J8O5Yf0KTlh0S0IvE0nlw+RbQilzJTZbScbgP31yQ2NeUHYTVL6cz9Q4I9jF Qtp/Au8u/U3CtwKahEDEeQfB7s+n/dAijDURiGUPrlTsB2+t9RXn8uRhNSlwkxga lMkwUXVkoMw8RWYpGxpFgDeqoK00o7nLLFWRtbhFG2qaeN8Oqze/PuDp4eM9mzBA GIFnO+YUB+w0ICONylRX6qAiB2XXlyTjkKi03z0f6x9pBq2w2wM+OVkRL2u3TgPD FlcrrwG1jw0u1jFxhYD/QsZo3svPMnDNzGLiniYKw== X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 845377E1D0; Mon, 19 Feb 2018 20:37:35 -0500 (EST) Date: Tue, 20 Feb 2018 10:37:32 +0900 From: Michael Paquier To: Tom Lane Cc: Aditya Nugraha , Thomas Munro , pgsql-general@lists.postgresql.org Subject: Re: Error when compiling postgresql 9.6.7 with Visual Studio 15.5.6 Message-ID: <20180220013732.GE26999@paquier.xyz> References: <24867.1519061028@sss.pgh.pa.us> <2807.1519075038@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XuV1QlJbYrcVoo+x" Content-Disposition: inline In-Reply-To: <2807.1519075038@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --XuV1QlJbYrcVoo+x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 19, 2018 at 04:17:18PM -0500, Tom Lane wrote: > Well, as far as I'm concerned the patch that was proposed there is > far too fragile to be acceptable. We need to find out what the > Microsoft-approved way of getting the information is. Assuming that > we know the contents of non-exported data structures is surely not > what they have in mind, and it would undoubtedly break in the next VS > update. Definitely agreed. The locale-related code is *the* pain point when it comes to MSVC things. And each time we add support for a new version of MSVC there is always something different happening and breaking. There has never been any discussion around ResolveLocaleName() though. A downside is that this would increase the minimal version support bar on Windows. Still that would be worth a serious look. -- Michael --XuV1QlJbYrcVoo+x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlqLe9wACgkQnvQgOdby QH2dYA//fhdzQadkzuwQcBGYpZ+UO24KGGfdMGndy0eK/i+724qL3/UAN/YxbCo+ wA4Peug13g5A0TjM6rYSuTqXyBBg/TLYWniLv05g/yP/cQxc5Nqp9VqZxxz3JrGM iUoASoEyOY0hNkGPhSnnB6DmY1CfFLi9lIRQ3UeVnFYYAEZycMg/o4TXXFTuhkbT x2YPJcW6GHPToi5M/SGM3bm1EXiWq7WT4IT4uL1+16MMVDRwQzZZYiwWSIWhcGDT YrXf4Uepu3lmuErjD4SgsUw14H3d1bW+qbsBJE36fleBbgfjbtOoGpLI4h02rkXG tLM8lXsx/i0/sfsJV0BCc2OPuHhc2dQF1dG88hrreHxmpHJqNa6JDlQgQ4tMt+Vj vOI1MH2jXTHYuIypzAzfN4RuFJUk3gCXadzVeUX0+rrKOvsAgWGXJZZa26dsMi3y NI9Ky6u1GBkDzd70Vjk0K6HIWKOrgJ2sEmfhiRsCf9dgJDXkfvfXx7tJZQawi5Fg UBuyUOEe4g2tj5VFpbrReIU/noLoZbVl6V5UhNSGi4HiaV2FJqgFYyAwiCJaSWBl YCcGGlpJDqftAJMQXWbT512P/jSk+crg4i4fH5yxJ1ikwrXrxtCEhe9oq3i/OSgq VZLFAk8/vHuztmGOmK1exB+XTP5TcGpUvorDlVoFeddYJvUFbV0= =Na2q -----END PGP SIGNATURE----- --XuV1QlJbYrcVoo+x--