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
2a22750c
Commit
2a22750c
authored
Jun 03, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove typeTypeFlag(), which was not only unused but entirely redundant
with typeTypType().
parent
238dc463
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
src/backend/parser/parse_type.c
src/backend/parser/parse_type.c
+1
-11
src/include/parser/parse_type.h
src/include/parser/parse_type.h
+1
-2
No files found.
src/backend/parser/parse_type.c
View file @
2a22750c
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parse_type.c,v 1.6
7 2004/05/30 23:40:35 neilc
Exp $
* $PostgreSQL: pgsql/src/backend/parser/parse_type.c,v 1.6
8 2004/06/03 19:41:46 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -313,16 +313,6 @@ typeTypeName(Type t)
return
pstrdup
(
NameStr
(
typ
->
typname
));
}
/* given a type, return its typetype ('c' for 'c'atalog types) */
char
typeTypeFlag
(
Type
t
)
{
Form_pg_type
typ
;
typ
=
(
Form_pg_type
)
GETSTRUCT
(
t
);
return
typ
->
typtype
;
}
Oid
typeTypeRelid
(
Type
typ
)
{
...
...
src/include/parser/parse_type.h
View file @
2a22750c
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/parser/parse_type.h,v 1.2
6 2003/11/29 22:41:09 pgsq
l Exp $
* $PostgreSQL: pgsql/src/include/parser/parse_type.h,v 1.2
7 2004/06/03 19:41:46 tg
l Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -33,7 +33,6 @@ extern int16 typeLen(Type t);
extern
bool
typeByVal
(
Type
t
);
extern
char
typeTypType
(
Type
t
);
extern
char
*
typeTypeName
(
Type
t
);
extern
char
typeTypeFlag
(
Type
t
);
extern
Oid
typeTypeRelid
(
Type
typ
);
extern
Datum
stringTypeDatum
(
Type
tp
,
char
*
string
,
int32
atttypmod
);
...
...
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