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/common.h | |
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/common.h')
-rw-r--r-- | src/bin/scripts/common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/scripts/common.h b/src/bin/scripts/common.h index db2f85b4720..33b952ba635 100644 --- a/src/bin/scripts/common.h +++ b/src/bin/scripts/common.h @@ -10,7 +10,6 @@ #define COMMON_H #include "common/username.h" -#include "fe_utils/cancel.h" #include "getopt_long.h" /* pgrminclude ignore */ #include "libpq-fe.h" #include "pqexpbuffer.h" /* pgrminclude ignore */ @@ -22,8 +21,6 @@ enum trivalue TRI_YES }; -extern bool CancelRequested; - typedef void (*help_handler) (const char *progname); extern void handle_help_version_opts(int argc, char *argv[], |