aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r--src/bin/psql/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h
index f58c54519a7..108cab967be 100644
--- a/src/bin/psql/common.h
+++ b/src/bin/psql/common.h
@@ -12,6 +12,8 @@
#include <setjmp.h>
#include "libpq-fe.h"
+#include "print.h"
+
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
extern bool setQFout(const char *fname);
@@ -37,6 +39,7 @@ extern void SetCancelConn(void);
extern void ResetCancelConn(void);
extern PGresult *PSQLexec(const char *query, bool start_xact);
+extern int PSQLexecWatch(const char *query, const printQueryOpt *opt);
extern bool SendQuery(const char *query);