pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Petr Jelinek <petr@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: VS 2015 support in src/tools/msvc
Date: Wed, 23 Mar 2016 21:18:35 +0100
Message-ID: <56F2FA1B.2060403@2ndquadrant.com> (raw)
In-Reply-To: <CAB7nPqR0CxHh8FwwEjMXmvS-LCUCrPpmrOMRAEqF4XX8mhFqzQ@mail.gmail.com>
References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com>
	<56DA6394.9040404@2ndquadrant.com>
	<CAB7nPqQfoNWGnXjTCf8ZuRtcz0D0fHpE43haoy3CHYgJVf1oDg@mail.gmail.com>
	<15559.1457156815@sss.pgh.pa.us>
	<56DAEE74.3010604@dunslane.net>
	<CAB7nPqSuzGoZPvCUhbDFTkmsD9z6oLAaHeB-yc7_Qb4sh_f-fg@mail.gmail.com>
	<56DB47A5.7040502@dunslane.net>
	<CAB7nPqSOL9vLmaecT+SDhkFTOje8erdnvC-KT+dH9_bBQsV5zg@mail.gmail.com>
	<CAB7nPqRSsrn5etFDEJ+VrWcoxFee8WRBteSgwobKocKQJUFC_A@mail.gmail.com>
	<56DEEF92.4020507@dunslane.net>
	<9775.1457451803@sss.pgh.pa.us>
	<56DEF8B6.8070205@dunslane.net>
	<CAB7nPqT5oGZEZawKZVjxuT=C5QEK_eUfc1J7KNpCbv5rCtr0+g@mail.gmail.com>
	<56EDDB60.4060506@dunslane.net>
	<CAB7nPqTp01tWAA1NXfw6Qc9r0bEdeOZxsoypg_JHhFD7+OhHYQ@mail.gmail.com>
	<56EEEF45.1000708@dunslane.net>
	<CAB7nPqS6JcQeFwurY4A9yznOaFv36NsoErfBQCGZNcShtU5OAw@mail.gmail.com>
	<56F281C0.3030107@2ndquadrant.com>
	<CAB7nPqR0CxHh8FwwEjMXmvS-LCUCrPpmrOMRAEqF4XX8mhFqzQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 23/03/16 13:05, Michael Paquier wrote:
>>>>
>>>> OK, the please send an updated set of patches for what remains.
>>>
>>>
>>> Here you go:
>>> - 0001 fixes the global declarations of TIMEZONE_GLOBAL and
>>> TZNAME_GLOBAL to be WIN32-compliant. I got bitten by that in the ECPG
>>> compilation.
>>> - 0002, support of VS2015 in the scripts of src/tools/msvc
>>> - 0003, this is necessary in order to run the regression tests,
>>> details are here:
>>>
>>> http://www.postgresql.org/message-id/CAB7nPqTDiXxS8CdL8mOiVh6qFQ-1qV9mKN0AyjzYBvzv6WC0dA@mail.gmail....
>>
>> So that's basically what Andres did? Interesting that we now actually really
>> need it. I was in favor of doing those changes in any case.
>
> Yes, that's what Andres did. I am just attaching it here to allow
> Andrew to test this patch set appropriately.
>
>>> - 0004 is the fix for locales. This is actually Petr's work upthread,
>>> I have updated comments in the code though and did a bit more
>>> polishing. This still looks like the cleanest solution we have. Other
>>> solutions are mentioned upthread: redeclaration of struct _locale_t in
>>> backend code is one.
>>
>> Thanks for polishing this.
>>
>> I think this is ready to be committed, but the 0003 might be somewhat
>> controversial based on the original thread.
>
> I thought that the end consensus regarding 0003 was to apply it, but
> we could as well wait for the final verdict (committer push) on the
> other thread. And well, if this is not applied, some of the gin tests
> will complain about "right sibling of GIN page is of different type" a
> couple of times.
>

Hmm I see you are right, I missed the last couple emails. Ok I'll mark 
it ready for committer - it does work fine on my vs2015 machine and I am 
happy with the code too. Well, as happy as I can be given the locale mess.

-- 
   Petr Jelinek                  http://www.2ndQuadrant.com/
   PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (134+ messages)  latest in thread

Message-ID: <56F2FA1B.2060403@2ndquadrant.com>
Permalink:  ../56F2FA1B.2060403@2ndquadrant.com/
Also on:    postgresql.org/message-id/56F2FA1B.2060403@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: petr@2ndquadrant.com, michael.paquier@gmail.com, andrew@dunslane.net, tgl@sss.pgh.pa.us, magnus@hagander.net
  Subject: Re: VS 2015 support in src/tools/msvc
  In-Reply-To: <56F2FA1B.2060403@2ndquadrant.com>
  References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com> <56DA6394.9040404@2ndquadrant.com> <CAB7nPqQfoNWGnXjTCf8ZuRtcz0D0fHpE43haoy3CHYgJVf1oDg@mail.gmail.com> <15559.1457156815@sss.pgh.pa.us> <56DAEE74.3010604@dunslane.net> <CAB7nPqSuzGoZPvCUhbDFTkmsD9z6oLAaHeB-yc7_Qb4sh_f-fg@mail.gmail.com> <56DB47A5.7040502@dunslane.net> <CAB7nPqSOL9vLmaecT+SDhkFTOje8erdnvC-KT+dH9_bBQsV5zg@mail.gmail.com> <CAB7nPqRSsrn5etFDEJ+VrWcoxFee8WRBteSgwobKocKQJUFC_A@mail.gmail.com> <56DEEF92.4020507@dunslane.net> <9775.1457451803@sss.pgh.pa.us> <56DEF8B6.8070205@dunslane.net> <CAB7nPqT5oGZEZawKZVjxuT=C5QEK_eUfc1J7KNpCbv5rCtr0+g@mail.gmail.com> <56EDDB60.4060506@dunslane.net> <CAB7nPqTp01tWAA1NXfw6Qc9r0bEdeOZxsoypg_JHhFD7+OhHYQ@mail.gmail.com> <56EEEF45.1000708@dunslane.net> <CAB7nPqS6JcQeFwurY4A9yznOaFv36NsoErfBQCGZNcShtU5OAw@mail.gmail.com> <56F281C0.3030107@2ndquadrant.com> <CAB7nPqR0CxHh8FwwEjMXmvS-LCUCrPpmrOMRAEqF4XX8mhFqzQ@mail.gmail.com> <56F2FA1B.2060403@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox