From: Tom Lane Date: Wed, 28 Jun 2017 22:00:16 +0000 (-0400) Subject: Ooops, WIN32 code in pg_ctl.c still needs PQExpBuffer. X-Git-Tag: REL_10_BETA2~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ae8536545b7ea486dbe15247e6dd817ee211297;p=postgresql Ooops, WIN32 code in pg_ctl.c still needs PQExpBuffer. Per buildfarm. --- diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 6f05790209..0c65196bda 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -36,6 +36,10 @@ #include "getopt_long.h" #include "utils/pidfile.h" +#ifdef WIN32 /* on Unix, we don't need libpq */ +#include "pqexpbuffer.h" +#endif + /* PID can be negative for standalone backend */ typedef long pgpid_t; diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 0179844349..621238417d 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -49,7 +49,7 @@ my @contrib_excludes = ( # Set of variables for frontend modules my $frontend_defines = { 'initdb' => 'FRONTEND' }; -my @frontend_uselibpq = ('pg_upgrade', 'pgbench', 'psql', 'initdb'); +my @frontend_uselibpq = ('pg_ctl', 'pg_upgrade', 'pgbench', 'psql', 'initdb'); my @frontend_uselibpgport = ( 'pg_archivecleanup', 'pg_test_fsync', 'pg_test_timing', 'pg_upgrade',