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
ab164850
Commit
ab164850
authored
Oct 17, 2008
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve comments about RelOptInfo.reltargetlist.
parent
2a0083ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
src/include/nodes/relation.h
src/include/nodes/relation.h
+7
-5
No files found.
src/include/nodes/relation.h
View file @
ab164850
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/nodes/relation.h,v 1.16
0 2008/10/04 21:56:5
5 tgl Exp $
* $PostgreSQL: pgsql/src/include/nodes/relation.h,v 1.16
1 2008/10/17 20:23:4
5 tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -244,8 +244,10 @@ typedef struct PlannerInfo
* width - avg. number of bytes per tuple in the relation after the
* appropriate projections have been done (ie, output width)
* reltargetlist - List of Var nodes for the attributes we need to
* output from this relation (in no particular order)
* NOTE: in a child relation, may contain RowExprs
* output from this relation (in no particular order,
* but all rels of an appendrel set must use same order)
* NOTE: in a child relation, may contain RowExpr or
* ConvertRowtypeExpr representing a whole-row Var
* pathlist - List of Path nodes, one for each potentially useful
* method of generating the relation
* cheapest_startup_path - the pathlist member with lowest startup cost
...
...
@@ -337,7 +339,7 @@ typedef struct RelOptInfo
int
width
;
/* estimated avg width of result tuples */
/* materialization information */
List
*
reltargetlist
;
/*
needed Vars
*/
List
*
reltargetlist
;
/*
Vars to be output by scan of relation
*/
List
*
pathlist
;
/* Path structures */
struct
Path
*
cheapest_startup_path
;
struct
Path
*
cheapest_total_path
;
...
...
@@ -350,7 +352,7 @@ typedef struct RelOptInfo
AttrNumber
max_attr
;
/* largest attrno of rel */
Relids
*
attr_needed
;
/* array indexed [min_attr .. max_attr] */
int32
*
attr_widths
;
/* array indexed [min_attr .. max_attr] */
List
*
indexlist
;
List
*
indexlist
;
/* list of IndexOptInfo */
BlockNumber
pages
;
double
tuples
;
struct
Plan
*
subplan
;
/* if subquery */
...
...
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