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>
To: 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: Mon, 21 Mar 2016 06:38:15 +0100
Message-ID: <56EF88C7.3090308@2ndquadrant.com> (raw)
In-Reply-To: <CAB7nPqTp01tWAA1NXfw6Qc9r0bEdeOZxsoypg_JHhFD7+OhHYQ@mail.gmail.com>
References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com>
	<56D8B8E3.5070708@2ndquadrant.com>
	<CAB7nPqQzNsRChCxRZt3O1jWMRtPYJO3ibHZ2eVgJBOEpp4aTYQ@mail.gmail.com>
	<CAB7nPqRL+kuZ8dq6P3WXv-b0-0LAwTxecnaLnvBn4ah7PSbWsQ@mail.gmail.com>
	<CAB7nPqT8mfN6GoRt4WcNh8WiK==sSh3VkVonRFMzOi6oXefTQw@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 20/03/16 05:02, Michael Paquier wrote:
> On Sun, Mar 20, 2016 at 8:06 AM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>> Still to do: the non-perl pieces.
>
> The patch to address locales is the sensitive part. The patch from
> Petr is taking the correct approach though I think that we had better
> simplify it a bit and if possible we had better not rely on the else
> block it introduces.
>

That would be ideal, not particularly sure that both are possible at the 
same time. We can definitely remove the else block but it involves 
enumerating system locales which makes the patch orders of magnitude 
bigger and uglier. Do you have any better approaches in you mind?

As a side note, I have to say the current locale API in Windows is one 
huge mess and if it was on me I'd just redefine the locale_t struct 
correctly as that is simplest solution and the APIs involved are not 
deprecated or anything, it's just that the public headers are botched in 
current version and apparently nobody important is using them to force 
MS to fix them.

-- 
   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: <56EF88C7.3090308@2ndquadrant.com>
Permalink:  ../56EF88C7.3090308@2ndquadrant.com/
Also on:    postgresql.org/message-id/56EF88C7.3090308@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: <56EF88C7.3090308@2ndquadrant.com>
  References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com> <CAB7nPqQzNsRChCxRZt3O1jWMRtPYJO3ibHZ2eVgJBOEpp4aTYQ@mail.gmail.com> <CAB7nPqRL+kuZ8dq6P3WXv-b0-0LAwTxecnaLnvBn4ah7PSbWsQ@mail.gmail.com> <CAB7nPqT8mfN6GoRt4WcNh8WiK==sSh3VkVonRFMzOi6oXefTQw@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> <56EF88C7.3090308@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