summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/common.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-04-12 09:24:23 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-04-12 09:24:23 +0000
commit1e9b80a2fd14b8d42fd92e43ba2145e2fc124b47 (patch)
treeb978e4cbdf6dd7777696b26338fced9ca45ec4f1 /src/bin/pg_dump/common.c
parentbb0a17412d133885c6eb98e1741ee65b89c528f1 (diff)
modifications to pg_dump towards supporting dumping of ACLs (doesn't work yet!)
modification to c.h so that bool isn't typedef'd under __cplusplus
Diffstat (limited to 'src/bin/pg_dump/common.c')
-rw-r--r--src/bin/pg_dump/common.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/bin/pg_dump/common.c b/src/bin/pg_dump/common.c
index ee68680a69a..f12510dc3b1 100644
--- a/src/bin/pg_dump/common.c
+++ b/src/bin/pg_dump/common.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.10 1997/02/13 08:31:17 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.11 1997/04/12 09:23:59 scrappy Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -192,7 +192,10 @@ strInArray(const char* pattern, char** arr, int arr_size)
*/
TableInfo *
-dumpSchema(FILE *fout, int *numTablesPtr, const char *tablename)
+dumpSchema(FILE *fout,
+ int *numTablesPtr,
+ const char *tablename,
+ const bool acls)
{
int numTypes;
int numFuncs;
@@ -249,7 +252,7 @@ if (fout) {
if (g_verbose) fprintf(stderr,"%s dumping out tables %s\n",
g_comment_start, g_comment_end);
dumpTables(fout, tblinfo, numTables, inhinfo, numInherits,
- tinfo, numTypes, tablename);
+ tinfo, numTypes, tablename, acls);
}
if (!tablename && fout) {