diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-12-04 10:06:45 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-12-04 10:06:45 +0900 |
commit | 85b9ef5fe7533e5d07dcf2a2b67c8855a34e5125 (patch) | |
tree | 2a3e75aabcfe007477aec5cd7693fd46ff1c3204 /src/bin/scripts/scripts_parallel.c | |
parent | b5273943679d22f58f1e1e269ad75e791172f557 (diff) | |
download | postgresql-85b9ef5fe7533e5d07dcf2a2b67c8855a34e5125.tar.gz postgresql-85b9ef5fe7533e5d07dcf2a2b67c8855a34e5125.zip |
Remove unnecessary definition of CancelRequested in bin/scripts/
This variable is now part of the refactored code for query cancellation
in fe_utils. This fixes an oversight in commit a4fd3aa. While on it,
improve some header includes in bin/scripts/.
Author: Michael Paquier
Reviewed-by: Fabien Coelho
Discussion: https://postgr.es/m/20191203101625.GF1634@paquier.xyz
Diffstat (limited to 'src/bin/scripts/scripts_parallel.c')
-rw-r--r-- | src/bin/scripts/scripts_parallel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/scripts/scripts_parallel.c b/src/bin/scripts/scripts_parallel.c index 97435160e95..a732f07dd8d 100644 --- a/src/bin/scripts/scripts_parallel.c +++ b/src/bin/scripts/scripts_parallel.c @@ -24,6 +24,7 @@ #include "common.h" #include "common/logging.h" +#include "fe_utils/cancel.h" #include "scripts_parallel.h" static void init_slot(ParallelSlot *slot, PGconn *conn); |