]> granicus.if.org Git - postgresql/commitdiff
Ooops, WIN32 code in pg_ctl.c still needs PQExpBuffer.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Jun 2017 22:00:16 +0000 (18:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Jun 2017 22:00:16 +0000 (18:00 -0400)
Per buildfarm.

src/bin/pg_ctl/pg_ctl.c
src/tools/msvc/Mkvcbuild.pm

index 6f057902098b1e9f22765f9d7d63cef9b046b6c0..0c65196bda4269495650507d474cc224bf48cb2c 100644 (file)
 #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;
 
index 01798443497cde0df7c98550b2d9385b23fc98bc..621238417d5273ce1bae59e8d8128ee4543fca03 100644 (file)
@@ -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',