diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-11-04 21:56:02 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-11-04 21:56:02 +0000 |
| commit | a45195a191eec367a4f305bb71ab541d17a3b9f9 (patch) | |
| tree | 99b815a93f6175b0db76c2da0da39e95a0ee6b8d /src/bin/psql/common.h | |
| parent | 2ea3b6d63addeaf07267e2390597645cbf013c36 (diff) | |
Major psql overhaul by Peter Eisentraut.
Diffstat (limited to 'src/bin/psql/common.h')
| -rw-r--r-- | src/bin/psql/common.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h new file mode 100644 index 00000000000..25bda2c0f87 --- /dev/null +++ b/src/bin/psql/common.h @@ -0,0 +1,25 @@ +#ifndef COMMON_H +#define COMMON_H + +#include <c.h> +#include "settings.h" + +char * +xstrdup(const char * string); + +bool +setQFout(const char *fname, PsqlSettings *pset); + +char * +simple_prompt(const char *prompt, int maxlen, bool echo); + +const char * +interpolate_var(const char * name, PsqlSettings * pset); + +PGresult * +PSQLexec(PsqlSettings *pset, const char *query); + +bool +SendQuery(PsqlSettings *pset, const char *query); + +#endif /* COMMON_H */ |
