diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2002-08-27 18:57:26 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2002-08-27 18:57:26 +0000 |
| commit | 7af5ea736f680109de569b00f2c36ea8e0211aea (patch) | |
| tree | 8d8fbace7d50af4c5393e35dc523fa818fb1664a /src/bin/pg_dump/dumputils.h | |
| parent | 6deb649cd3d985ca25c4e229ff9ab249a657b329 (diff) | |
| download | postgresql-7af5ea736f680109de569b00f2c36ea8e0211aea.tar.gz | |
Reimplement pg_dumpall in C. Currently no change in functionality,
except that it's more robust, reconnects less often, and is NLS'ed.
Diffstat (limited to 'src/bin/pg_dump/dumputils.h')
| -rw-r--r-- | src/bin/pg_dump/dumputils.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/bin/pg_dump/dumputils.h b/src/bin/pg_dump/dumputils.h new file mode 100644 index 0000000000..0266ee8f0c --- /dev/null +++ b/src/bin/pg_dump/dumputils.h @@ -0,0 +1,26 @@ +/*------------------------------------------------------------------------- + * + * Utility routines for SQL dumping + * + * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * + * $Header: /cvsroot/pgsql/src/bin/pg_dump/dumputils.h,v 1.1 2002/08/27 18:57:26 petere Exp $ + * + *------------------------------------------------------------------------- + */ + +#ifndef DUMPUTILS_H +#define DUMPUTILS_H + +#include "postgres_fe.h" + +#include "pqexpbuffer.h" + +extern char *simple_prompt(const char *prompt, int maxlen, bool echo); + +extern const char *fmtId(const char *identifier); +extern void appendStringLiteral(PQExpBuffer buf, const char *str, bool escapeAll); + +#endif DUMPUTILS_H |
