summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_dump.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-10-23 03:13:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-10-23 03:13:33 +0000
commitecd0bfa81a8290219f4973b8fd456a2ffeb11d40 (patch)
tree734cc8342c23bc8b1643ee1859003943015e7c03 /src/bin/pg_dump/pg_dump.h
parent627b5e9c20d91cfdd5e6fd672ec997c8fbb3a2a2 (diff)
downloadpostgresql-ecd0bfa81a8290219f4973b8fd456a2ffeb11d40.tar.gz
Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.
pg_dump and interfaces/odbc still need some work.)
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
-rw-r--r--src/bin/pg_dump/pg_dump.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index fc2aab94d5..9ef43b3713 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.39 1999/05/26 21:51:11 tgl Exp $
+ * $Id: pg_dump.h,v 1.40 1999/10/23 03:13:26 tgl Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -19,7 +19,16 @@
*-------------------------------------------------------------------------
*/
-#include <catalog/pg_index.h>
+#ifndef PG_DUMP_H
+#define PG_DUMP_H
+
+#include "catalog/pg_index.h"
+
+/*
+ * Very temporary hack --- remove this when all pg_dump's uses of it are gone!
+ */
+#define MAX_QUERY_SIZE (BLCKSZ*2)
+
/* The *Info data structures run-time C structures used to store
system catalog information */
@@ -225,3 +234,5 @@ extern void dumpTables(FILE *fout, TableInfo *tbinfo, int numTables,
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);
+
+#endif /* PG_DUMP_H */