Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adJYn-0006al-5q for pgsql-hackers@arkaria.postgresql.org; Tue, 08 Mar 2016 15:28:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1adJYm-00025B-KS for pgsql-hackers@arkaria.postgresql.org; Tue, 08 Mar 2016 15:28:32 +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) (envelope-from ) id 1adJYl-00024D-DI for pgsql-hackers@postgresql.org; Tue, 08 Mar 2016 15:28:31 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1adJYg-0004jA-Ob for pgsql-hackers@postgresql.org; Tue, 08 Mar 2016 15:28:30 +0000 Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 141B5FB86D; Tue, 8 Mar 2016 16:28:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id EP0gAKPc3zUB; Tue, 8 Mar 2016 16:28:22 +0100 (CET) X-Originating-IP: 98.122.164.227 Received: from [192.168.10.146] (unknown [98.122.164.227]) (Authenticated sender: adsend@dunslane.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 63DA1FB8CE; Tue, 8 Mar 2016 16:28:20 +0100 (CET) Subject: Re: VS 2015 support in src/tools/msvc To: Michael Paquier References: <56D871CE.8020709@dunslane.net> <56D8B8E3.5070708@2ndquadrant.com> <56DA6394.9040404@2ndquadrant.com> <15559.1457156815@sss.pgh.pa.us> <56DAEE74.3010604@dunslane.net> <56DB47A5.7040502@dunslane.net> Cc: Tom Lane , Petr Jelinek , Magnus Hagander , PostgreSQL mailing lists From: Andrew Dunstan Message-ID: <56DEEF92.4020507@dunslane.net> Date: Tue, 8 Mar 2016 10:28:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 03/08/2016 08:32 AM, Michael Paquier wrote: > On Mon, Mar 7, 2016 at 10:40 PM, Michael Paquier > wrote: >> On Sun, Mar 6, 2016 at 5:55 AM, Andrew Dunstan wrote: >>> On 03/05/2016 01:31 PM, Michael Paquier wrote: >>>> On Sat, Mar 5, 2016 at 11:34 PM, Andrew Dunstan >>>> wrote: >>>>> Here is a translation into perl of the sed script, courtesy of the s2p >>>>> incarnation of psed: >>>>> >>>>> The sed script appears to have been stable for a long time, so I don't >>>>> think >>>>> we need to be too concerned about possibly maintaining two versions. >>>> That's 95% of the work already done, nice! If I finish wrapping up a >>>> patch for this issue at least would you backpatch? It would be saner >>>> to get rid of this dependency everywhere I think regarding compilation >>>> with perl 5.22. >>> Sure. >> OK, so after some re-lecture of the script and perltidy-ing I finish >> with the attached. How does that look? > Attached is a new set for the support of MS 2015 + the psed issue, > please use those ones for testing: > - 0001 is the replacement of psed by a dedicated perl script to > generate probes.h > - 0002 Fix of the declaration of TIMEZONE_GLOBAL and TZNAME_GLOBAL for WIN32 > - 0003 addresses the issue with lc_codepage missing from _locale_t. > - 0004 adds support for MS2015 in src/tools/scripts/ Thanks for doing this work. Do we already have a hard dependency on perl for all non-Windows builds? I know it's been discussed but I don't recall. If so, back to what version? The comment in the codepage patch is a bit unclear. Can you reword it a bit? cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers