Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c88540fb
Commit
c88540fb
authored
May 19, 2002
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dump privileges on functions, aggregates, languages.
parent
dd9af92c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
232 additions
and
119 deletions
+232
-119
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+224
-114
src/bin/pg_dump/pg_dump.h
src/bin/pg_dump/pg_dump.h
+8
-5
No files found.
src/bin/pg_dump/pg_dump.c
View file @
c88540fb
This diff is collapsed.
Click to expand it.
src/bin/pg_dump/pg_dump.h
View file @
c88540fb
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_dump.h,v 1.8
5 2002/05/10 22:36:27 tgl
Exp $
* $Id: pg_dump.h,v 1.8
6 2002/05/19 10:08:25 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -62,6 +62,7 @@ typedef struct _funcInfo
int
nargs
;
char
**
argtypes
;
/* OIDs */
char
*
prorettype
;
/* OID */
char
*
proacl
;
bool
dumped
;
/* true if already dumped */
}
FuncInfo
;
...
...
@@ -69,8 +70,10 @@ typedef struct _aggInfo
{
char
*
oid
;
char
*
aggname
;
char
*
aggbasetype
;
NamespaceInfo
*
aggnamespace
;
/* link to containing namespace */
char
*
usename
;
char
*
aggacl
;
}
AggInfo
;
typedef
struct
_oprInfo
...
...
@@ -201,11 +204,11 @@ extern void dumpNamespaces(Archive *fout,
NamespaceInfo
*
nsinfo
,
int
numNamespaces
);
extern
void
dumpTypes
(
Archive
*
fout
,
FuncInfo
*
finfo
,
int
numFuncs
,
TypeInfo
*
tinfo
,
int
numTypes
);
extern
void
dumpProcLangs
(
Archive
*
fout
,
FuncInfo
*
finfo
,
int
numFuncs
);
extern
void
dumpFuncs
(
Archive
*
fout
,
FuncInfo
*
finfo
,
int
numFuncs
);
extern
void
dumpAggs
(
Archive
*
fout
,
AggInfo
*
agginfo
,
int
numAggregates
);
extern
void
dumpProcLangs
(
Archive
*
fout
,
FuncInfo
finfo
[]
,
int
numFuncs
);
extern
void
dumpFuncs
(
Archive
*
fout
,
FuncInfo
finfo
[]
,
int
numFuncs
);
extern
void
dumpAggs
(
Archive
*
fout
,
AggInfo
agginfo
[]
,
int
numAggregates
);
extern
void
dumpOprs
(
Archive
*
fout
,
OprInfo
*
oprinfo
,
int
numOperators
);
extern
void
dumpTables
(
Archive
*
fout
,
TableInfo
*
tblinfo
,
int
numTables
,
extern
void
dumpTables
(
Archive
*
fout
,
TableInfo
tblinfo
[]
,
int
numTables
,
const
bool
aclsSkip
,
const
bool
schemaOnly
,
const
bool
dataOnly
);
extern
void
dumpIndexes
(
Archive
*
fout
,
TableInfo
*
tbinfo
,
int
numTables
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment