Skip to content

Commit 1301c80

Browse files
committed
Remove MSVC scripts
This commit removes all the scripts located in src/tools/msvc/ to build PostgreSQL with Visual Studio on Windows, meson becoming the recommended way to achieve that. The scripts held some information that is still relevant with meson, information kept and moved to better locations. Comments that referred directly to the scripts are removed. All the documentation still relevant that was in install-windows.sgml has been moved to installation.sgml under a new subsection for Visual. All the content specific to the scripts is removed. Some adjustments for the documentation are planned in a follow-up set of changes. Author: Michael Paquier Reviewed-by: Peter Eisentraut, Andres Freund Discussion: https://postgr.es/m/ZQzp_VMJcerM1Cs_@paquier.xyz
1 parent 27f7f81 commit 1301c80

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+319
-6567
lines changed

config/perl.m4

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,17 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS],
5353
# would be fatal to try to compile PL/Perl to a different libc ABI than core
5454
# Postgres uses. The available information says that most symbols that affect
5555
# Perl's own ABI begin with letters, so it's almost sufficient to adopt -D
56-
# switches for symbols not beginning with underscore. Some exceptions are the
57-
# Windows-specific -D_USE_32BIT_TIME_T and -D__MINGW_USE_VC2005_COMPAT; see
58-
# Mkvcbuild.pm for details. We absorb the former when Perl reports it. Perl
59-
# never reports the latter, and we don't attempt to deduce when it's needed.
56+
# switches for symbols not beginning with underscore.
57+
58+
# Some exceptions are the Windows-specific -D_USE_32BIT_TIME_T and
59+
# -D__MINGW_USE_VC2005_COMPAT. To be exact, Windows offers several 32-bit ABIs.
60+
# Perl is sensitive to sizeof(time_t), one of the ABI dimensions. PostgreSQL
61+
# doesn't support building with pre-MSVC-2005 compilers, but it does support
62+
# linking to Perl built with such a compiler. MSVC-built Perl 5.13.4 and
63+
# later report -D_USE_32BIT_TIME_T in $Config{ccflags} if applicable, but
64+
# MinGW-built Perl never reports -D_USE_32BIT_TIME_T despite typically needing
65+
# it.
66+
#
6067
# Consequently, we don't support using MinGW to link to MSVC-built Perl. As
6168
# of 2017, all supported ActivePerl and Strawberry Perl are MinGW-built. If
6269
# that changes or an MSVC-built Perl distribution becomes prominent, we can

doc/src/sgml/filelist.sgml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<!ENTITY installbin SYSTEM "install-binaries.sgml">
4040
<!ENTITY installation SYSTEM "installation.sgml">
4141
<!ENTITY targets-meson SYSTEM "targets-meson.sgml">
42-
<!ENTITY installw SYSTEM "install-windows.sgml">
4342
<!ENTITY maintenance SYSTEM "maintenance.sgml">
4443
<!ENTITY manage-ag SYSTEM "manage-ag.sgml">
4544
<!ENTITY monitoring SYSTEM "monitoring.sgml">

0 commit comments

Comments
 (0)