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 1ensoO-0002dW-RT for pgsql-general@arkaria.postgresql.org; Mon, 19 Feb 2018 21:17:24 +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 1ensoN-0005hA-Ci for pgsql-general@arkaria.postgresql.org; Mon, 19 Feb 2018 21:17:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ensoN-0005h0-1r for pgsql-general@lists.postgresql.org; Mon, 19 Feb 2018 21:17:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ensoK-0001Pe-Pj for pgsql-general@lists.postgresql.org; Mon, 19 Feb 2018 21:17:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w1JLHIWc002808; Mon, 19 Feb 2018 16:17:18 -0500 From: Tom Lane To: Aditya Nugraha cc: Thomas Munro , pgsql-general@lists.postgresql.org Subject: Re: Error when compiling postgresql 9.6.7 with Visual Studio 15.5.6 In-reply-to: References: <24867.1519061028@sss.pgh.pa.us> Comments: In-reply-to Aditya Nugraha message dated "Tue, 20 Feb 2018 04:09:47 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2806.1519075038.1@sss.pgh.pa.us> Date: Mon, 19 Feb 2018 16:17:18 -0500 Message-ID: <2807.1519075038@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Aditya Nugraha writes: > Found out that the patch that is included in that discussion is > working fine for Visual Studio 2017 15.5.6, i think postgresql > developer should include it on upstream branch or 9.6.x variant. 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. regards, tom lane