diff options
Diffstat (limited to 'src/bin/scripts/common.h')
-rw-r--r-- | src/bin/scripts/common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/scripts/common.h b/src/bin/scripts/common.h index c2ecf1a6636..9f592230476 100644 --- a/src/bin/scripts/common.h +++ b/src/bin/scripts/common.h @@ -4,7 +4,7 @@ * * Copyright (c) 2003-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.16 2007/01/05 22:19:50 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.17 2007/04/09 18:21:22 mha Exp $ */ #ifndef COMMON_H #define COMMON_H @@ -35,6 +35,11 @@ extern PGresult *executeQuery(PGconn *conn, const char *query, extern void executeCommand(PGconn *conn, const char *query, const char *progname, bool echo); +extern bool executeMaintenanceCommand(PGconn *conn, const char *query, + bool echo); + extern bool yesno_prompt(const char *question); +extern void setup_cancel_handler(void); + #endif /* COMMON_H */ |