Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
2a22750c
Commit
2a22750c
authored
20 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Remove typeTypeFlag(), which was not only unused but entirely redundant
with typeTypType().
parent
238dc463
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/parser/parse_type.c
+1
-11
1 addition, 11 deletions
src/backend/parser/parse_type.c
src/include/parser/parse_type.h
+1
-2
1 addition, 2 deletions
src/include/parser/parse_type.h
with
2 additions
and
13 deletions
src/backend/parser/parse_type.c
+
1
−
11
View file @
2a22750c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parse_type.c,v 1.6
7
2004/0
5/30 23:40:35 neilc
Exp $
* $PostgreSQL: pgsql/src/backend/parser/parse_type.c,v 1.6
8
2004/0
6/03 19:41:46 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -313,16 +313,6 @@ typeTypeName(Type t)
...
@@ -313,16 +313,6 @@ typeTypeName(Type t)
return
pstrdup
(
NameStr
(
typ
->
typname
));
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
Oid
typeTypeRelid
(
Type
typ
)
typeTypeRelid
(
Type
typ
)
{
{
...
...
This diff is collapsed.
Click to expand it.
src/include/parser/parse_type.h
+
1
−
2
View file @
2a22750c
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/parser/parse_type.h,v 1.2
6
200
3/11/29 22:41:09 pgsq
l Exp $
* $PostgreSQL: pgsql/src/include/parser/parse_type.h,v 1.2
7
200
4/06/03 19:41:46 tg
l Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -33,7 +33,6 @@ extern int16 typeLen(Type t);
...
@@ -33,7 +33,6 @@ extern int16 typeLen(Type t);
extern
bool
typeByVal
(
Type
t
);
extern
bool
typeByVal
(
Type
t
);
extern
char
typeTypType
(
Type
t
);
extern
char
typeTypType
(
Type
t
);
extern
char
*
typeTypeName
(
Type
t
);
extern
char
*
typeTypeName
(
Type
t
);
extern
char
typeTypeFlag
(
Type
t
);
extern
Oid
typeTypeRelid
(
Type
typ
);
extern
Oid
typeTypeRelid
(
Type
typ
);
extern
Datum
stringTypeDatum
(
Type
tp
,
char
*
string
,
int32
atttypmod
);
extern
Datum
stringTypeDatum
(
Type
tp
,
char
*
string
,
int32
atttypmod
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment