Re: MSVC Build support with visual studio 2019
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>,
Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-25T21:32:42Z
Lists: pgsql-hackers
I On 3/25/19 3:44 PM, Andrew Dunstan wrote: > On 3/21/19 3:13 AM, Michael Paquier wrote: >> On Thu, Mar 21, 2019 at 12:45:57PM +1100, Haribabu Kommi wrote: >>> The commit f2ab389 is later back-patch to version till 9.3 in commit >>> 19acfd65. I guess that building the windows installer for all the >>> versions using the same visual studio is may be the reason behind >>> that back-patch. >> I did not remember this one, thanks for pointing it out. So my >> memories on that were incorrect. If it is possible to get the code to >> build with MSVC 2019 on all the supported branches, we could do so. > > > > VS2019 is currently in preview. I think we'd probably be better off > waiting until the full release. I don't know of any pressing urgency for > us to support it. > > I see Haribabu mentioned that in his original email. I'll take a look at verifying the patch. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add support for Visual Studio 2019 in build scripts
- d49c127d90f9 9.4.24 landed
- 3337fd192596 9.5.19 landed
- 78aaffd285c4 9.6.15 landed
- 0ce8e49b2243 10.10 landed
- 721963f24ae8 11.5 landed
- f2d069ce95b1 12.0 landed
- 2b1394fc2b52 13.0 landed
-
Support building with Visual Studio 2017
- 19acfd6528bc 9.4.20 cited
- f2ab3898f3a2 11.0 cited
-
Require C99 (and thus MSCV 2013 upwards).
- d9dd406fe281 12.0 cited