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
ec8f0e82
Commit
ec8f0e82
authored
Feb 10, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add code to show join rule (for outer and IN joins) in join type name.
parent
c5ba16a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
4 deletions
+64
-4
src/backend/commands/explain.c
src/backend/commands/explain.c
+64
-4
No files found.
src/backend/commands/explain.c
View file @
ec8f0e82
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994-5, Regents of the University of California
* Portions Copyright (c) 1994-5, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.10
2 2003/02/09 06:56:26
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.10
3 2003/02/10 17:06:23
tgl Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -308,14 +308,74 @@ explain_outNode(StringInfo str,
...
@@ -308,14 +308,74 @@ explain_outNode(StringInfo str,
pname
=
"Append"
;
pname
=
"Append"
;
break
;
break
;
case
T_NestLoop
:
case
T_NestLoop
:
switch
(((
NestLoop
*
)
plan
)
->
join
.
jointype
)
{
case
JOIN_INNER
:
pname
=
"Nested Loop"
;
pname
=
"Nested Loop"
;
break
;
break
;
case
JOIN_LEFT
:
pname
=
"Nested Loop Left Join"
;
break
;
case
JOIN_FULL
:
pname
=
"Nested Loop Full Join"
;
break
;
case
JOIN_RIGHT
:
pname
=
"Nested Loop Right Join"
;
break
;
case
JOIN_IN
:
pname
=
"Nested Loop IN Join"
;
break
;
default:
pname
=
"Nested Loop ??? Join"
;
break
;
}
break
;
case
T_MergeJoin
:
case
T_MergeJoin
:
switch
(((
MergeJoin
*
)
plan
)
->
join
.
jointype
)
{
case
JOIN_INNER
:
pname
=
"Merge Join"
;
pname
=
"Merge Join"
;
break
;
break
;
case
JOIN_LEFT
:
pname
=
"Merge Left Join"
;
break
;
case
JOIN_FULL
:
pname
=
"Merge Full Join"
;
break
;
case
JOIN_RIGHT
:
pname
=
"Merge Right Join"
;
break
;
case
JOIN_IN
:
pname
=
"Merge IN Join"
;
break
;
default:
pname
=
"Merge ??? Join"
;
break
;
}
break
;
case
T_HashJoin
:
case
T_HashJoin
:
switch
(((
HashJoin
*
)
plan
)
->
join
.
jointype
)
{
case
JOIN_INNER
:
pname
=
"Hash Join"
;
pname
=
"Hash Join"
;
break
;
break
;
case
JOIN_LEFT
:
pname
=
"Hash Left Join"
;
break
;
case
JOIN_FULL
:
pname
=
"Hash Full Join"
;
break
;
case
JOIN_RIGHT
:
pname
=
"Hash Right Join"
;
break
;
case
JOIN_IN
:
pname
=
"Hash IN Join"
;
break
;
default:
pname
=
"Hash ??? Join"
;
break
;
}
break
;
case
T_SeqScan
:
case
T_SeqScan
:
pname
=
"Seq Scan"
;
pname
=
"Seq Scan"
;
break
;
break
;
...
...
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