Re: pgsql: Remove some code for old unsupported versions of MSVC

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Remove some code for old unsupported versions of MSVC
Date: 2020-04-29 07:05:24
Message-ID: CAA4eK1+cp3+j_sWfvEj7FpSFGJv21L6gxxL=cZncr975G5H9_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Tue, Oct 8, 2019 at 2:23 PM Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>
> Remove some code for old unsupported versions of MSVC
>
> As of d9dd406fe281d22d5238d3c26a7182543c711e74, we require MSVC 2013,
> which means _MSC_VER >= 1800. This means that conditionals about
> older versions of _MSC_VER can be removed or simplified.
>

I wonder why this has not been backpatched to v12? I am talking
mainly about changes in IsoLocaleName made by this function. The
reason why I started looking at this commit is that I wanted to
backpatch some fix [1] in function IsoLocaleName and it seems to be
different in 12 and 13 for no reason. It is not a big deal but I was
curious to know if there is a reason we can't have this part of code
the same in 12 and 13. That will at least allow easier backpatch in
the future. I understand it is not a part of code that is changed on
a regular basis but still, it might be good to keep the code
consistent.

[1] - https://www.postgresql.org/message-id/CAHzhFSFoJEWezR96um4-rg5W6m2Rj9Ud2CNZvV4NWc9tXV7aXQ%40mail.gmail.com

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-04-29 08:15:07 pgsql: Fix typo
Previous Message Alvaro Herrera 2020-04-29 00:42:46 pgsql: Check slot->restart_lsn validity in a few more places