pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Aditya Nugraha <vortexilation@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Error when compiling postgresql 9.6.7 with Visual Studio 15.5.6
Date: Tue, 20 Feb 2018 10:37:32 +0900
Message-ID: <20180220013732.GE26999@paquier.xyz> (raw)
In-Reply-To: <2807.1519075038@sss.pgh.pa.us>
References: <CAL5LfdS4Z7XjOZhtXs8__7nZnRWsGVixSSYY4ci8dshjokF1+A@mail.gmail.com>
	<24867.1519061028@sss.pgh.pa.us>
	<CAEepm=33UNzoxf+GTyCnQV3AQeaaqB9nFFryafw=fPo5QG5BLQ@mail.gmail.com>
	<CAL5LfdQdxt9u1W4oJmELybVBJE3X4rtNrNp62NNFw9n=Xd-wTQ@mail.gmail.com>
	<2807.1519075038@sss.pgh.pa.us>

On Mon, Feb 19, 2018 at 04:17:18PM -0500, Tom Lane wrote:
> 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.

Definitely agreed.  The locale-related code is *the* pain point when it
comes to MSVC things.  And each time we add support for a new version of
MSVC there is always something different happening and breaking.  There
has never been any discussion around ResolveLocaleName() though.  A
downside is that this would increase the minimal version support bar on
Windows.  Still that would be worth a serious look.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (6+ messages)

Message-ID: <20180220013732.GE26999@paquier.xyz>
Permalink:  ../20180220013732.GE26999@paquier.xyz/
Also on:    postgresql.org/message-id/20180220013732.GE26999@paquier.xyz

 · 

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-general@postgresql.org
  Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, vortexilation@gmail.com, thomas.munro@enterprisedb.com
  Subject: Re: Error when compiling postgresql 9.6.7 with Visual Studio 15.5.6
  In-Reply-To: <20180220013732.GE26999@paquier.xyz>
  References: <CAL5LfdS4Z7XjOZhtXs8__7nZnRWsGVixSSYY4ci8dshjokF1+A@mail.gmail.com> <24867.1519061028@sss.pgh.pa.us> <CAEepm=33UNzoxf+GTyCnQV3AQeaaqB9nFFryafw=fPo5QG5BLQ@mail.gmail.com> <CAL5LfdQdxt9u1W4oJmELybVBJE3X4rtNrNp62NNFw9n=Xd-wTQ@mail.gmail.com> <2807.1519075038@sss.pgh.pa.us> <20180220013732.GE26999@paquier.xyz>

* 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