projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5fb673
)
Fix a comment for remove_self_joins_recurse()
author
Alexander Korotkov
Sun, 24 Dec 2023 23:31:24 +0000
(
01:31
+0200)
committer
Alexander Korotkov
Sun, 24 Dec 2023 23:33:34 +0000
(
01:33
+0200)
Discussion: https://postgr.es/m/18187-
831da249cbd2ff8e
%40postgresql.org
Author: Richard Guo
Reviewed-by: Andrei Lepikhov
src/backend/optimizer/plan/analyzejoins.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/optimizer/plan/analyzejoins.c
b/src/backend/optimizer/plan/analyzejoins.c
index c328cbdb8d334f16d01587a1e67e6407176458f3..6c02fe89085ac7f67be2388e9904af3ee98b3f17 100644
(file)
--- a/
src/backend/optimizer/plan/analyzejoins.c
+++ b/
src/backend/optimizer/plan/analyzejoins.c
@@
-2186,7
+2186,7
@@
remove_self_joins_one_group(PlannerInfo *root, Relids relids)
/*
* Gather indexes of base relations from the joinlist and try to eliminate self
- * joins.
To avoid complexity, limit the max power of this set by a GUC.
+ * joins.
*/
static Relids
remove_self_joins_recurse(PlannerInfo *root, List *joinlist, Relids toRemove)