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
b1313e34
Commit
b1313e34
authored
Jun 13, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress 'owner of datatype appears to be invalid' warning message for
undefined (shell) types.
parent
c66eb00a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+7
-5
No files found.
src/bin/pg_dump/pg_dump.c
View file @
b1313e34
...
...
@@ -22,7 +22,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.26
5 2002/05/28 22:26:56
tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.26
6 2002/06/13 20:02:31
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1579,6 +1579,8 @@ getTypes(int *numTypes)
* array elements by user-defined types
*
* we filter out the built-in types when we dump out the types
*
* same approach for undefined (shell) types
*/
/* Make sure we are in proper schema */
...
...
@@ -1633,10 +1635,6 @@ getTypes(int *numTypes)
tinfo
[
i
].
typrelid
=
strdup
(
PQgetvalue
(
res
,
i
,
i_typrelid
));
tinfo
[
i
].
typtype
=
*
PQgetvalue
(
res
,
i
,
i_typtype
);
if
(
strlen
(
tinfo
[
i
].
usename
)
==
0
)
write_msg
(
NULL
,
"WARNING: owner of data type %s appears to be invalid
\n
"
,
tinfo
[
i
].
typname
);
/*
* check for user-defined array types, omit system generated ones
*/
...
...
@@ -1650,6 +1648,10 @@ getTypes(int *numTypes)
tinfo
[
i
].
isDefined
=
true
;
else
tinfo
[
i
].
isDefined
=
false
;
if
(
strlen
(
tinfo
[
i
].
usename
)
==
0
&&
tinfo
[
i
].
isDefined
)
write_msg
(
NULL
,
"WARNING: owner of data type %s appears to be invalid
\n
"
,
tinfo
[
i
].
typname
);
}
*
numTypes
=
ntups
;
...
...
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