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
aabdd309
Commit
aabdd309
authored
Jul 20, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove un-needed references to Name.
parent
a6ca6525
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
20 deletions
+14
-20
src/backend/parser/gram.c
src/backend/parser/gram.c
+1
-1
src/backend/parser/parse_func.c
src/backend/parser/parse_func.c
+8
-14
src/backend/parser/parse_node.c
src/backend/parser/parse_node.c
+3
-3
src/backend/parser/parse_type.c
src/backend/parser/parse_type.c
+2
-2
No files found.
src/backend/parser/gram.c
View file @
aabdd309
...
...
@@ -218,7 +218,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.1
7 1998/07/19 05:49:18
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.1
8 1998/07/20 11:17:10
momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
...
...
src/backend/parser/parse_func.c
View file @
aabdd309
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.2
1 1998/07/12 21:29:19
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.2
2 1998/07/20 11:17:11
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1286,7 +1286,6 @@ ParseComplexProjection(ParseState *pstate,
{
Oid
argtype
;
Oid
argrelid
;
Name
relname
;
Relation
rd
;
Oid
relid
;
int
attnum
;
...
...
@@ -1317,7 +1316,6 @@ ParseComplexProjection(ParseState *pstate,
if
(
RelationIsValid
(
rd
))
{
relid
=
RelationGetRelationId
(
rd
);
relname
=
RelationGetRelationName
(
rd
);
heap_close
(
rd
);
}
if
(
RelationIsValid
(
rd
))
...
...
@@ -1376,7 +1374,6 @@ ParseComplexProjection(ParseState *pstate,
if
(
RelationIsValid
(
rd
))
{
relid
=
RelationGetRelationId
(
rd
);
relname
=
RelationGetRelationName
(
rd
);
heap_close
(
rd
);
}
if
(
RelationIsValid
(
rd
))
...
...
@@ -1414,17 +1411,14 @@ ParseComplexProjection(ParseState *pstate,
if
(
RelationIsValid
(
rd
))
{
relid
=
RelationGetRelationId
(
rd
);
relname
=
RelationGetRelationName
(
rd
);
heap_close
(
rd
);
}
if
(
RelationIsValid
(
rd
)
&&
(
attnum
=
get_attnum
(
relid
,
funcname
))
!=
InvalidAttrNumber
)
{
param
->
paramtype
=
attnumTypeId
(
rd
,
attnum
);
param
->
param_tlist
=
setup_tlist
(
funcname
,
relid
);
return
((
Node
*
)
param
);
if
((
attnum
=
get_attnum
(
relid
,
funcname
))
!=
InvalidAttrNumber
)
{
param
->
paramtype
=
attnumTypeId
(
rd
,
attnum
);
param
->
param_tlist
=
setup_tlist
(
funcname
,
relid
);
return
((
Node
*
)
param
);
}
}
break
;
}
...
...
src/backend/parser/parse_node.c
View file @
aabdd309
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.1
7 1998/07/12 21:29:20
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.1
8 1998/07/20 11:17:11
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -280,7 +280,7 @@ make_array_ref(Node *expr,
if
(
type_struct_array
->
typelem
==
InvalidOid
)
elog
(
ERROR
,
"make_array_ref: type %s is not an array"
,
(
Name
)
&
(
type_struct_array
->
typname
.
data
[
0
])
);
type_struct_array
->
typname
);
/* get the type tuple for the element type */
type_tuple
=
SearchSysCacheTuple
(
TYPOID
,
...
...
@@ -362,7 +362,7 @@ make_array_set(Expr *target_expr,
if
(
type_struct_array
->
typelem
==
InvalidOid
)
elog
(
ERROR
,
"make_array_ref: type %s is not an array"
,
(
Name
)
&
(
type_struct_array
->
typname
.
data
[
0
])
);
type_struct_array
->
typname
);
/* get the type tuple for the element type */
type_tuple
=
SearchSysCacheTuple
(
TYPOID
,
ObjectIdGetDatum
(
type_struct_array
->
typelem
),
...
...
src/backend/parser/parse_type.c
View file @
aabdd309
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_type.c,v 1.1
2 1998/07/12 21:29:2
1 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_type.c,v 1.1
3 1998/07/20 11:17:1
1 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -234,7 +234,7 @@ GetArrayElementType(Oid typearray)
if
(
type_struct_array
->
typelem
==
InvalidOid
)
{
elog
(
ERROR
,
"GetArrayElementType: type %s is not an array"
,
(
Name
)
&
(
type_struct_array
->
typname
.
data
[
0
])
);
type_struct_array
->
typname
);
}
return
(
type_struct_array
->
typelem
);
...
...
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