Re: MSVC Build support with visual studio 2019

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-07-03T00:01:23Z
Lists: pgsql-hackers
On Tue, Jul 02, 2019 at 02:10:11PM +0900, Michael Paquier wrote:
> OK, committed to HEAD for now after perltidy'ing the patch.  Let's see
> what the buildfarm has to say about it first.  Once we are sure that
> the thing is stable, I'll try to backpatch it.  This works on my own
> dev machines with VS 2015 and 2019, but who knows what hides in the
> shadows... 

The buildfarm did not have much to say, so backpatched down to 9.4,
adjusting things on the way.
--
Michael

Commits

  1. Add support for Visual Studio 2019 in build scripts

  2. Support building with Visual Studio 2017

  3. Require C99 (and thus MSCV 2013 upwards).