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
d51260aa
Commit
d51260aa
authored
Jan 12, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong/misleading comments, be more consistent about where to call
ExecAssignResultTypeFromTL().
parent
b05204ac
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
17 deletions
+14
-17
src/backend/executor/nodeFunctionscan.c
src/backend/executor/nodeFunctionscan.c
+2
-2
src/backend/executor/nodeGroup.c
src/backend/executor/nodeGroup.c
+2
-3
src/backend/executor/nodeIndexscan.c
src/backend/executor/nodeIndexscan.c
+3
-4
src/backend/executor/nodeSeqscan.c
src/backend/executor/nodeSeqscan.c
+2
-2
src/backend/executor/nodeSubqueryscan.c
src/backend/executor/nodeSubqueryscan.c
+2
-2
src/backend/executor/nodeTidscan.c
src/backend/executor/nodeTidscan.c
+3
-4
No files found.
src/backend/executor/nodeFunctionscan.c
View file @
d51260aa
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeFunctionscan.c,v 1.1
6 2002/12/15 16:17:46
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeFunctionscan.c,v 1.1
7 2003/01/12 22:01:38
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -247,7 +247,7 @@ ExecInitFunctionScan(FunctionScan *node, EState *estate)
scanstate
->
ss
.
ps
.
ps_TupFromTlist
=
false
;
/*
*
initialize tuple type
*
Initialize result tuple type and projection info.
*/
ExecAssignResultTypeFromTL
(
&
scanstate
->
ss
.
ps
);
ExecAssignProjectionInfo
(
&
scanstate
->
ss
.
ps
);
...
...
src/backend/executor/nodeGroup.c
View file @
d51260aa
...
...
@@ -15,7 +15,7 @@
* locate group boundaries.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.5
4 2003/01/10 23:54:24
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.5
5 2003/01/12 22:01:38
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -180,8 +180,7 @@ ExecInitGroup(Group *node, EState *estate)
ExecAssignScanTypeFromOuterPlan
(
&
grpstate
->
ss
);
/*
* Initialize tuple type for both result and scan. This node does no
* projection
* Initialize result tuple type and projection info.
*/
ExecAssignResultTypeFromTL
(
&
grpstate
->
ss
.
ps
);
ExecAssignProjectionInfo
(
&
grpstate
->
ss
.
ps
);
...
...
src/backend/executor/nodeIndexscan.c
View file @
d51260aa
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.7
6 2002/12/18 00:14:24
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeIndexscan.c,v 1.7
7 2003/01/12 22:01:38
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -583,9 +583,9 @@ ExecInitIndexScan(IndexScan *node, EState *estate)
ExecInitScanTupleSlot
(
estate
,
&
indexstate
->
ss
);
/*
* initialize projection info. result type comes from scan desc
* below..
* Initialize result tuple type and projection info.
*/
ExecAssignResultTypeFromTL
(
&
indexstate
->
ss
.
ps
);
ExecAssignProjectionInfo
(
&
indexstate
->
ss
.
ps
);
/*
...
...
@@ -893,7 +893,6 @@ ExecInitIndexScan(IndexScan *node, EState *estate)
* get the scan type from the relation descriptor.
*/
ExecAssignScanType
(
&
indexstate
->
ss
,
RelationGetDescr
(
currentRelation
),
false
);
ExecAssignResultTypeFromTL
(
&
indexstate
->
ss
.
ps
);
/*
* open the index relations and initialize relation and scan
...
...
src/backend/executor/nodeSeqscan.c
View file @
d51260aa
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSeqscan.c,v 1.4
1 2002/12/15 16:17:46
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSeqscan.c,v 1.4
2 2003/01/12 22:01:38
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -229,7 +229,7 @@ ExecInitSeqScan(SeqScan *node, EState *estate)
scanstate
->
ps
.
ps_TupFromTlist
=
false
;
/*
*
initialize tuple type
*
Initialize result tuple type and projection info.
*/
ExecAssignResultTypeFromTL
(
&
scanstate
->
ps
);
ExecAssignProjectionInfo
(
&
scanstate
->
ps
);
...
...
src/backend/executor/nodeSubqueryscan.c
View file @
d51260aa
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSubqueryscan.c,v 1.1
6 2002/12/15 16:17:46
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSubqueryscan.c,v 1.1
7 2003/01/12 22:01:38
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -189,7 +189,7 @@ ExecInitSubqueryScan(SubqueryScan *node, EState *estate)
subquerystate
->
ss
.
ps
.
ps_TupFromTlist
=
false
;
/*
*
initialize tuple type
*
Initialize result tuple type and projection info.
*/
ExecAssignResultTypeFromTL
(
&
subquerystate
->
ss
.
ps
);
ExecAssignProjectionInfo
(
&
subquerystate
->
ss
.
ps
);
...
...
src/backend/executor/nodeTidscan.c
View file @
d51260aa
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeTidscan.c,v 1.3
0 2002/12/15 16:17:46
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeTidscan.c,v 1.3
1 2003/01/12 22:01:38
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -384,9 +384,9 @@ ExecInitTidScan(TidScan *node, EState *estate)
ExecInitScanTupleSlot
(
estate
,
&
tidstate
->
ss
);
/*
* initialize projection info. result type comes from scan desc
* below..
* Initialize result tuple type and projection info.
*/
ExecAssignResultTypeFromTL
(
&
tidstate
->
ss
.
ps
);
ExecAssignProjectionInfo
(
&
tidstate
->
ss
.
ps
);
/*
...
...
@@ -431,7 +431,6 @@ ExecInitTidScan(TidScan *node, EState *estate)
* get the scan type from the relation descriptor.
*/
ExecAssignScanType
(
&
tidstate
->
ss
,
RelationGetDescr
(
currentRelation
),
false
);
ExecAssignResultTypeFromTL
(
&
tidstate
->
ss
.
ps
);
/*
* if there are some PARAM_EXEC in skankeys then force tid rescan on
...
...
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