From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: matheusfarias519@gmail.com
Subject: Installing PostgreSQL 11 from source on Windows
Date: Mon, 28 Nov 2022 14:29:27 +0000
Message-ID: <166964576733.1903.6094376110885947825@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/11/index.html
Description:
I tried following the instructions on chapter 17 about the "Installation
From Source Code on Windows" but they seem a bit confusing at practice when
having to work with other extensions. It is written that it can be built
using MinGW, which uses the normal build system, so it appears to be a safer
method. Then the documentation tells us to move to chapter 16.7.5.
MinGW/Native Windows. There, the documentation tells us to use MSYS which
has a collection of Unix tools required to run shell scripts. But when I
tried using an extension like Apache AGE, when I ran the "make" command
under the apache age directory as " make
PG_CONFIG=~/pgsql-11.17/bin/pg_config.exe install " it showed an error
message about conflicting variable declarations (redeclaration of variables
in different files). These files where both under the "
POSTGR~1.17/include/server " and " msys64/mingw64/include " and the error
was with the 'DECIMAL' variable (it was declared as a struct in one file but
integer in another). To resolve this issue, I installed the Terminal app in
the Microsoft Store and used the Ubuntu terminal. There the Short Version
installation worked without errors with the Apache AGE extension
installation. So, it would be nice to include an "Install Terminal app"
option in the documentation, since this way is very easy to follow.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, matheusfarias519@gmail.com
Subject: Re: Installing PostgreSQL 11 from source on Windows
In-Reply-To: <166964576733.1903.6094376110885947825@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox