Fix failure-to-compile-standalone in scripts_parallel.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 Aug 2019 22:01:01 +0000 (18:01 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 Aug 2019 22:01:01 +0000 (18:01 -0400)
Needs libpq-fe.h for references to PGConn.

Discussion: https://postgr.es/m/17463.1566153454@sss.pgh.pa.us

src/bin/scripts/scripts_parallel.h

index f1a724a64f136089102896892c3fba2e8a74d340..ab82c5e6a962fb8e0521035abeb0a968fc3748c9 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef SCRIPTS_PARALLEL_H
 #define SCRIPTS_PARALLEL_H
 
+#include "libpq-fe.h"
+
 
 typedef struct ParallelSlot
 {