Re: Building PostgreSQL 9.6devel sources with MicrosoftVisual C++ 2015? - Mailing list pgsql-general

From Yury Zhuravlev
Subject Re: Building PostgreSQL 9.6devel sources with MicrosoftVisual C++ 2015?
Date
Msg-id e317eec9-d40d-49b9-b776-e89cf1d18c82@postgrespro.ru
Whole thread Raw
In response to Re: Building PostgreSQL 9.6devel sources with Microsoft Visual C++ 2015?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Building PostgreSQL 9.6devel sources with MicrosoftVisual C++ 2015?
List pgsql-general
Tom Lane wrote:
> Somebody will have to research how one is
> supposed to get the appropriate locale name now.
It's just a bug:
https://connect.microsoft.com/VisualStudio/feedback/details/1882835/locale-t-compile-issues-with-vs2015
I spied a solution there and made a patch (in attachment).
I came across this error when building Postgres using the CMake for the
MSVC 2015.

Thanks.

PS I do not know whether this patch needs to be added to commitfest?
--
Yury Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Variable not found
Next
From: John R Pierce
Date:
Subject: yum packages for 9.5 vs <=9.4