Re: VS 2015 support in src/tools/msvc

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: VS 2015 support in src/tools/msvc
Date: 2016-03-08 13:32:28
Message-ID: CAB7nPqRSsrn5etFDEJ+VrWcoxFee8WRBteSgwobKocKQJUFC_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 7, 2016 at 10:40 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> On Sun, Mar 6, 2016 at 5:55 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>> On 03/05/2016 01:31 PM, Michael Paquier wrote:
>>> On Sat, Mar 5, 2016 at 11:34 PM, Andrew Dunstan <andrew(at)dunslane(dot)net>
>>> wrote:
>>>>
>>>> Here is a translation into perl of the sed script, courtesy of the s2p
>>>> incarnation of psed:
>>>> <https://gist.github.com/adunstan/d61b1261a4b91496bdc6>
>>>> 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/
Regards,
--
Michael

Attachment Content-Type Size
0001-Remove-dependency-to-psed-in-MSVC-scripts.patch application/x-patch 9.0 KB
0002-Fix-declaration-of-TIMEZONE_GLOBAL-and-TZNAME_GLOBAL.patch application/x-patch 1.1 KB
0003-Fix-use-of-locales-for-VS-2015.patch application/x-patch 1.4 KB
0004-Add-support-for-VS-2015-in-MSVC-scripts.patch application/x-patch 4.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-03-08 13:53:09 Re: Relation extension scalability
Previous Message Robert Haas 2016-03-08 13:30:33 Re: Freeze avoidance of very large table.