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
363ac78a
Commit
363ac78a
authored
Feb 17, 2017
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_dump: Message style improvements
parent
a029d2cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+3
-3
No files found.
src/bin/pg_dump/pg_dump.c
View file @
363ac78a
...
@@ -6078,7 +6078,7 @@ getOwnedSeqs(Archive *fout, TableInfo tblinfo[], int numTables)
...
@@ -6078,7 +6078,7 @@ getOwnedSeqs(Archive *fout, TableInfo tblinfo[], int numTables)
owning_tab
=
findTableByOid
(
seqinfo
->
owning_tab
);
owning_tab
=
findTableByOid
(
seqinfo
->
owning_tab
);
if
(
owning_tab
==
NULL
)
if
(
owning_tab
==
NULL
)
exit_horribly
(
NULL
,
"failed sanity check, parent table
OID %u of sequence
OID %u not found
\n
"
,
exit_horribly
(
NULL
,
"failed sanity check, parent table
with OID %u of sequence with
OID %u not found
\n
"
,
seqinfo
->
owning_tab
,
seqinfo
->
dobj
.
catId
.
oid
);
seqinfo
->
owning_tab
,
seqinfo
->
dobj
.
catId
.
oid
);
/*
/*
...
@@ -6768,7 +6768,7 @@ getRules(Archive *fout, int *numRules)
...
@@ -6768,7 +6768,7 @@ getRules(Archive *fout, int *numRules)
ruletableoid
=
atooid
(
PQgetvalue
(
res
,
i
,
i_ruletable
));
ruletableoid
=
atooid
(
PQgetvalue
(
res
,
i
,
i_ruletable
));
ruleinfo
[
i
].
ruletable
=
findTableByOid
(
ruletableoid
);
ruleinfo
[
i
].
ruletable
=
findTableByOid
(
ruletableoid
);
if
(
ruleinfo
[
i
].
ruletable
==
NULL
)
if
(
ruleinfo
[
i
].
ruletable
==
NULL
)
exit_horribly
(
NULL
,
"failed sanity check, parent table
OID %u of pg_rewrite entry
OID %u not found
\n
"
,
exit_horribly
(
NULL
,
"failed sanity check, parent table
with OID %u of pg_rewrite entry with
OID %u not found
\n
"
,
ruletableoid
,
ruleinfo
[
i
].
dobj
.
catId
.
oid
);
ruletableoid
,
ruleinfo
[
i
].
dobj
.
catId
.
oid
);
ruleinfo
[
i
].
dobj
.
namespace
=
ruleinfo
[
i
].
ruletable
->
dobj
.
namespace
;
ruleinfo
[
i
].
dobj
.
namespace
=
ruleinfo
[
i
].
ruletable
->
dobj
.
namespace
;
ruleinfo
[
i
].
dobj
.
dump
=
ruleinfo
[
i
].
ruletable
->
dobj
.
dump
;
ruleinfo
[
i
].
dobj
.
dump
=
ruleinfo
[
i
].
ruletable
->
dobj
.
dump
;
...
@@ -16101,7 +16101,7 @@ dumpSequence(Archive *fout, TableInfo *tbinfo)
...
@@ -16101,7 +16101,7 @@ dumpSequence(Archive *fout, TableInfo *tbinfo)
TableInfo
*
owning_tab
=
findTableByOid
(
tbinfo
->
owning_tab
);
TableInfo
*
owning_tab
=
findTableByOid
(
tbinfo
->
owning_tab
);
if
(
owning_tab
==
NULL
)
if
(
owning_tab
==
NULL
)
exit_horribly
(
NULL
,
"failed sanity check, parent table
OID %u of sequence
OID %u not found
\n
"
,
exit_horribly
(
NULL
,
"failed sanity check, parent table
with OID %u of sequence with
OID %u not found
\n
"
,
tbinfo
->
owning_tab
,
tbinfo
->
dobj
.
catId
.
oid
);
tbinfo
->
owning_tab
,
tbinfo
->
dobj
.
catId
.
oid
);
if
(
owning_tab
->
dobj
.
dump
&
DUMP_COMPONENT_DEFINITION
)
if
(
owning_tab
->
dobj
.
dump
&
DUMP_COMPONENT_DEFINITION
)
...
...
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