diff options
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
| -rw-r--r-- | src/bin/pg_dump/pg_dump.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h index 775c05612d..988dbd0e19 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.11 1997/04/02 04:17:27 vadim Exp $ + * $Id: pg_dump.h,v 1.12 1997/04/12 09:24:14 scrappy Exp $ * * Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2 * @@ -55,6 +55,7 @@ typedef struct _tableInfo { char *oid; char *relname; char *relarch; + char *relacl; bool sequence; int numatts; /* number of attributes */ int *inhAttrs; /* an array of flags, one for each attribute @@ -143,9 +144,15 @@ extern char g_opaque_type[10]; /* name for the opaque type */ * common utility functions */ -extern TableInfo* dumpSchema(FILE* fout, int *numTablesPtr, const char *tablename); -extern void dumpSchemaIdx(FILE* fout, int *numTablesPtr, const char *tablename, - TableInfo* tblinfo, int numTables); +extern TableInfo* dumpSchema(FILE* fout, + int *numTablesPtr, + const char *tablename, + const bool acls); +extern void dumpSchemaIdx(FILE* fout, + int *numTablesPtr, + const char *tablename, + TableInfo* tblinfo, + int numTables); extern char* findTypeByOid(TypeInfo* tinfo, int numTypes, const char* oid); extern char* findOprByOid(OprInfo *oprinfo, int numOprs, const char *oid); @@ -188,7 +195,8 @@ extern void dumpOneFunc(FILE* fout, FuncInfo* finfo, int i, TypeInfo *tinfo, int numTypes); extern void dumpTables(FILE* fout, TableInfo* tbinfo, int numTables, InhInfo *inhinfo, int numInherits, - TypeInfo *tinfo, int numTypes, const char *tablename); + TypeInfo *tinfo, int numTypes, const char *tablename, + const bool acls); extern void dumpIndices(FILE* fout, IndInfo* indinfo, int numIndices, TableInfo* tbinfo, int numTables, const char *tablename); |
