diff options
Diffstat (limited to 'src/bin/pg_dump/dumputils.h')
-rw-r--r-- | src/bin/pg_dump/dumputils.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/bin/pg_dump/dumputils.h b/src/bin/pg_dump/dumputils.h index acaff801d88..41946af31af 100644 --- a/src/bin/pg_dump/dumputils.h +++ b/src/bin/pg_dump/dumputils.h @@ -1,12 +1,13 @@ /*------------------------------------------------------------------------- * * Utility routines for SQL dumping + * Basically this is stuff that is useful in both pg_dump and pg_dumpall. + * * * 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.4 2002/09/07 16:14:33 petere Exp $ + * $Id: dumputils.h,v 1.5 2003/05/30 22:55:15 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -14,14 +15,18 @@ #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); +extern void appendStringLiteral(PQExpBuffer buf, const char *str, + bool escapeAll); extern int parse_version(const char *versionString); +extern bool buildACLCommands(const char *name, const char *type, + const char *acls, const char *owner, + int remoteVersion, + PQExpBuffer sql); #endif /* DUMPUTILS_H */ |