Re: MSVC Build support with visual studio 2019

From: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
To: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: MSVC Build support with visual studio 2019
Date: 2019-05-29 08:30:20
Message-ID: CAJrrPGf-9oVwVZTa2RQCFyEAnOkoLzAwogUKa14MPE77=0KByQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 27, 2019 at 8:14 PM Juan José Santamaría Flecha <
juanjo(dot)santamaria(at)gmail(dot)com> wrote:

>
> On Thu, May 23, 2019 at 3:44 AM Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
> wrote:
>
>>
>> Updated patches are attached for all branches.
>>
>>
> I have gone through all patches and there are a couple of typos:
>

Thanks for the review.

> 1. s/prodcutname/productname/
>
> 1.1 In file: 0001-support-building-with-visual-studio-2019_v9.4.patch
> @@ -97,8 +97,9 @@
> <productname>Visual Studio 2013</productname>. Building with
> <productname>Visual Studio 2015</productname> is supported down to
> <productname>Windows Vista</> and <productname>Windows Server 2008</>.
> - Building with <productname>Visual Studio 2017</productname> is
> supported
> - down to <productname>Windows 7 SP1</> and <productname>Windows Server
> 2008 R2 SP1</>.
> + Building with <productname>Visual Studio 2017</productname> and
> + <prodcutname>Visual Studio 2019</prodcutname> are supported down to
>
> 1.2 In file:
> 0001-support-building-with-visual-studio-2019_v10_to_v9.5.patch
> @@ -97,8 +97,9 @@
> <productname>Visual Studio 2013</productname>. Building with
> <productname>Visual Studio 2015</productname> is supported down to
> <productname>Windows Vista</> and <productname>Windows Server 2008</>.
> - Building with <productname>Visual Studio 2017</productname> is
> supported
> - down to <productname>Windows 7 SP1</> and <productname>Windows Server
> 2008 R2 SP1</>.
> + Building with <productname>Visual Studio 2017</productname> and
> + <prodcutname>Visual Studio 2019</prodcutname> are supported down to
>

Corrected.

> 2. s/stuido/studio/
>
> 2.1 In file: 0001-support-building-with-visual-studio-2019_v9.4.patch
> @@ -143,12 +173,12 @@ sub DetermineVisualStudioVersion
> sub _GetVisualStudioVersion
> {
> my ($major, $minor) = @_;
> - # visual 2017 hasn't changed the nmake version to 15, so still using
> the older version for comparison.
> + # The major visual stuido that is suppored has nmake version >= 14.20
> and < 15.
>
> 2.2 In file:
> 0001-support-building-with-visual-studio-2019_v10_to_v9.5.patch
> @@ -132,12 +162,12 @@ sub DetermineVisualStudioVersion
> sub _GetVisualStudioVersion
> {
> my ($major, $minor) = @_;
> - # visual 2017 hasn't changed the nmake version to 15, so still using
> the older version for comparison.
> + # The major visual stuido that is suppored has nmake version >= 14.20
> and < 15.
>
> 2.3 In file: 0001-support-building-with-visual-studio-2019_v11.patch
> @@ -139,12 +165,12 @@ sub _GetVisualStudioVersion
> {
> my ($major, $minor) = @_;
>
> - # visual 2017 hasn't changed the nmake version to 15, so still using
> the older version for comparison.
> + # The major visual stuido that is suppored has nmake version >= 14.20
> and < 15.
>
> 2.4 In file: 0001-Support-building-with-visual-studio-2019_HEAD.patch
> @@ -106,17 +132,17 @@ sub _GetVisualStudioVersion
> {
> my ($major, $minor) = @_;
>
> - # visual 2017 hasn't changed the nmake version to 15, so still using
> the older version for comparison.
> + # The major visual stuido that is suppored has nmake version >= 14.20
> and < 15.
>

Corrected. And also 'supported' spelling is also wrong.

Updated patches are attached.

Regards,
Haribabu Kommi
Fujitsu Australia

Attachment Content-Type Size
0001-support-building-with-visual-studio-2019_v11_v3.patch application/octet-stream 10.0 KB
0001-support-building-with-visual-studio-2019_v10_to_v9.6_v3.patch application/octet-stream 10.1 KB
0001-support-building-with-visual-studio-2019_v9.4_v3.patch application/octet-stream 10.1 KB
0001-Support-building-with-visual-studio-2019_HEAD_v3.patch application/octet-stream 10.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Haribabu Kommi 2019-05-29 08:44:42 Re: How to know referenced sub-fields of a composite type?
Previous Message Pavan Deolasee 2019-05-29 08:20:28 Re: COPY FREEZE and setting PD_ALL_VISIBLE/visibility map bits