aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_dump.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-07-06 20:12:30 +0000
committerBruce Momjian <bruce@momjian.us>2002-07-06 20:12:30 +0000
commit7015111a19eba481f3abf3f8d6149cd417bf6de5 (patch)
treeaa7dc3eaf73cc2961bf15f1f2a9ead5c219e1ee9 /src/bin/pg_dump/pg_dump.h
parentd66f172f4b75df4fccae02612a181f1161e0865d (diff)
downloadpostgresql-7015111a19eba481f3abf3f8d6149cd417bf6de5.tar.gz
postgresql-7015111a19eba481f3abf3f8d6149cd417bf6de5.zip
Move simple_prompt() into its own file to be shared with psql and pg_dump.
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
-rw-r--r--src/bin/pg_dump/pg_dump.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index 3483fe2c0f6..17491b027e5 100644
--- a/src/bin/pg_dump/pg_dump.h
+++ b/src/bin/pg_dump/pg_dump.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_dump.h,v 1.89 2002/07/02 05:49:52 momjian Exp $
+ * $Id: pg_dump.h,v 1.90 2002/07/06 20:12:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -209,4 +209,7 @@ extern void dumpTables(Archive *fout, TableInfo tblinfo[], int numTables,
const bool schemaOnly, const bool dataOnly);
extern void dumpIndexes(Archive *fout, TableInfo *tbinfo, int numTables);
+/* sprompt.h */
+extern char *simple_prompt(const char *prompt, int maxlen, bool echo);
+
#endif /* PG_DUMP_H */