summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_dump.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-05-26 21:51:13 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-05-26 21:51:13 +0000
commit8eb18d874edf4cf2c693f33271d38ff58a2f0631 (patch)
tree79d45dfc45a80e84e2f529c15b82d3d95356ac0e /src/bin/pg_dump/pg_dump.h
parent26fb87d37e9d1a501c787527515e269ea6e96e4b (diff)
downloadpostgresql-8eb18d874edf4cf2c693f33271d38ff58a2f0631.tar.gz
Fix pg_dump to use the same maximum-query-size constant as
the backend does. Remove unnecessary limitation on field size in dumpClasses_dumpData (ie, -d or -D case).
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
-rw-r--r--src/bin/pg_dump/pg_dump.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index 1d83387a14..fc2aab94d5 100644
--- a/src/bin/pg_dump/pg_dump.h
+++ b/src/bin/pg_dump/pg_dump.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_dump.h,v 1.38 1999/05/25 16:13:09 momjian Exp $
+ * $Id: pg_dump.h,v 1.39 1999/05/26 21:51:11 tgl Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -224,9 +224,4 @@ extern void dumpTables(FILE *fout, TableInfo *tbinfo, int numTables,
const bool acls);
extern void dumpIndices(FILE *fout, IndInfo *indinfo, int numIndices,
TableInfo *tbinfo, int numTables, const char *tablename);
-
-extern const char *
- fmtId(const char *identifier, bool force_quotes);
-
-/* largest query string size */
-#define MAXQUERYLEN 5000
+extern const char *fmtId(const char *identifier, bool force_quotes);