pgsql: Fix build of MSVC with OpenSSL 3.0.0 - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix build of MSVC with OpenSSL 3.0.0
Date
Msg-id E1md6MV-0007dq-Ln@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix build of MSVC with OpenSSL 3.0.0

The build scripts of Visual Studio would fail to detect properly a 3.0.0
build as the check on the second digit was failing.  This is adjusted
where needed, allowing the builds to complete.  Note that the MSIs of
OpenSSL mentioned in the documentation have not changed any library
names for Win32 and Win64, making this change straight-forward.

Reported-by: htalaco, via github
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/YW5XKYkq6k7OtrFq@paquier.xyz
Backpatch-through: 9.6

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1539e0ecd6a447fca14920834d4546c60ff20f10

Modified Files
--------------
src/tools/msvc/Solution.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Ensure correct lock level is used in ALTER ... RENAME
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Ensure correct lock level is used in ALTER ... RENAME