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
947eb975
Commit
947eb975
authored
Apr 24, 2005
by
Neil Conway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update some comments to use SQL examples rather than QUEL. From Simon
Riggs.
parent
a7f2a788
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
src/backend/executor/nodeAppend.c
src/backend/executor/nodeAppend.c
+2
-2
src/backend/executor/nodeResult.c
src/backend/executor/nodeResult.c
+7
-8
No files found.
src/backend/executor/nodeAppend.c
View file @
947eb975
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/nodeAppend.c,v 1.6
2 2004/12/31 21:59:45 pgsql
Exp $
* $PostgreSQL: pgsql/src/backend/executor/nodeAppend.c,v 1.6
3 2005/04/24 11:46:20 neilc
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -43,7 +43,7 @@
* and student-emp inherits from student and employee, the
* query:
*
*
retrieve (e.name) from e in person*
*
select name from person
*
* generates the plan:
*
...
...
src/backend/executor/nodeResult.c
View file @
947eb975
...
...
@@ -8,15 +8,13 @@
* Result nodes are used in queries where no relations are scanned.
* Examples of such queries are:
*
* retrieve (x = 1)
* and
* append emp (name = "mike", salary = 15000)
* select 1 * 2
*
* Result nodes are also used to optimise queries with constant
* qualifications (ie, quals that do not depend on the scanned data),
* such as:
*
*
retrieve (emp.all)
where 2 > 1
*
select * from emp
where 2 > 1
*
* In this case, the plan generated is
*
...
...
@@ -24,9 +22,10 @@
* /
* SeqScan (emp.all)
*
* At runtime, the Result node evaluates the constant qual once.
* If it's false, we can return an empty result set without running
* the controlled plan at all. If it's true, we run the controlled
* At runtime, the Result node evaluates the constant qual once,
* which is shown by EXPLAIN as a One-Time Filter. If it's
* false, we can return an empty result set without running the
* controlled plan at all. If it's true, we run the controlled
* plan normally and pass back the results.
*
*
...
...
@@ -34,7 +33,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/nodeResult.c,v 1.
29 2004/12/31 21:59:45 pgsql
Exp $
* $PostgreSQL: pgsql/src/backend/executor/nodeResult.c,v 1.
30 2005/04/24 11:46:21 neilc
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
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