diff options
Diffstat (limited to 'src/bin/psql/common.h')
| -rw-r--r-- | src/bin/psql/common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h index af6f04965da..6a7be3ec202 100644 --- a/src/bin/psql/common.h +++ b/src/bin/psql/common.h @@ -3,11 +3,14 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.6 2000/02/16 13:15:26 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.7 2000/02/20 14:28:20 petere Exp $ */ #ifndef COMMON_H #define COMMON_H +#include "postgres.h" +#include <signal.h> +#include "pqsignal.h" #include "libpq-fe.h" char * xstrdup(const char *string); @@ -25,6 +28,9 @@ void NoticeProcessor(void * arg, const char * message); char * simple_prompt(const char *prompt, int maxlen, bool echo); +extern volatile bool cancel_pressed; +void handle_sigint(SIGNAL_ARGS); + PGresult * PSQLexec(const char *query); bool SendQuery(const char *query); |
