From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/install-windows.html | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 doc/src/sgml/html/install-windows.html (limited to 'doc/src/sgml/html/install-windows.html') diff --git a/doc/src/sgml/html/install-windows.html b/doc/src/sgml/html/install-windows.html new file mode 100644 index 0000000..4492816 --- /dev/null +++ b/doc/src/sgml/html/install-windows.html @@ -0,0 +1,44 @@ + +Chapter 18. Installation from Source Code on Windows

Chapter 18. Installation from Source Code on Windows

+ It is recommended that most users download the binary distribution for + Windows, available as a graphical installer package + from the PostgreSQL website at + https://www.postgresql.org/download/. Building from source + is only intended for people developing PostgreSQL + or extensions. +

+ There are several different ways of building PostgreSQL on + Windows. The simplest way to build with + Microsoft tools is to install Visual Studio 2022 + and use the included compiler. It is also possible to build with the full + Microsoft Visual C++ 2015 to 2022. + In some cases that requires the installation of the + Windows SDK in addition to the compiler. +

+ It is also possible to build PostgreSQL using the GNU compiler tools + provided by MinGW, or using + Cygwin for older versions of + Windows. +

+ Building using MinGW or + Cygwin uses the normal build system, see + Chapter 17 and the specific notes in + Section 17.7.4 and Section 17.7.2. + To produce native 64 bit binaries in these environments, use the tools from + MinGW-w64. These tools can also be used to + cross-compile for 32 bit and 64 bit Windows + targets on other hosts, such as Linux and + macOS. + Cygwin is not recommended for running a + production server, and it should only be used for running on + older versions of Windows where + the native build does not work. The official + binaries are built using Visual Studio. +

+ Native builds of psql don't support command + line editing. The Cygwin build does support + command line editing, so it should be used where psql is needed for + interactive use on Windows. +

\ No newline at end of file -- cgit v1.2.3