Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1ae8536

Browse files
committed
Ooops, WIN32 code in pg_ctl.c still needs PQExpBuffer.
Per buildfarm.
1 parent f13ea95 commit 1ae8536

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
#include "getopt_long.h"
3737
#include "utils/pidfile.h"
3838

39+
#ifdef WIN32 /* on Unix, we don't need libpq */
40+
#include "pqexpbuffer.h"
41+
#endif
42+
3943
/* PID can be negative for standalone backend */
4044
typedef long pgpid_t;
4145

src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ my @contrib_excludes = (
4949

5050
# Set of variables for frontend modules
5151
my $frontend_defines = { 'initdb' => 'FRONTEND' };
52-
my @frontend_uselibpq = ('pg_upgrade', 'pgbench', 'psql', 'initdb');
52+
my @frontend_uselibpq = ('pg_ctl', 'pg_upgrade', 'pgbench', 'psql', 'initdb');
5353
my @frontend_uselibpgport = (
5454
'pg_archivecleanup', 'pg_test_fsync',
5555
'pg_test_timing', 'pg_upgrade',

0 commit comments

Comments
 (0)