diff options
Diffstat (limited to 'src/bin/psql/command.h')
-rw-r--r-- | src/bin/psql/command.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/bin/psql/command.h b/src/bin/psql/command.h deleted file mode 100644 index f74be3a8510..00000000000 --- a/src/bin/psql/command.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * psql - the PostgreSQL interactive terminal - * - * Copyright 2000 by PostgreSQL Global Development Group - * - * $Header: /cvsroot/pgsql/src/bin/psql/command.h,v 1.14 2002/03/27 19:16:13 petere Exp $ - */ -#ifndef COMMAND_H -#define COMMAND_H - -#include "pqexpbuffer.h" - -#include "settings.h" -#include "print.h" - - -typedef enum _backslashResult -{ - CMD_UNKNOWN = 0, /* not done parsing yet (internal only) */ - CMD_SEND, /* query complete; send off */ - CMD_SKIP_LINE, /* keep building query */ - CMD_TERMINATE, /* quit program */ - CMD_NEWEDIT, /* query buffer was changed (e.g., via \e) */ - CMD_ERROR /* the execution of the backslash command - * resulted in an error */ -} backslashResult; - - -backslashResult HandleSlashCmds(const char *line, - PQExpBuffer query_buf, - const char **end_of_cmd, - volatile int *paren_level); - -int - process_file(char *filename); - -bool - test_superuser(const char *username); - -bool do_pset(const char *param, - const char *value, - printQueryOpt *popt, - bool quiet); - -#endif /* COMMAND_H */ |