From: Alexander Korotkov Date: Sun, 24 Dec 2023 23:31:24 +0000 (+0200) Subject: Fix a comment for remove_self_joins_recurse() X-Git-Tag: REL_17_BETA1~1243 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=0a93f803f45f45f39473e2c61923c4b4777bc8a8;p=postgresql.git Fix a comment for remove_self_joins_recurse() Discussion: https://postgr.es/m/18187-831da249cbd2ff8e%40postgresql.org Author: Richard Guo Reviewed-by: Andrei Lepikhov --- diff --git a/src/backend/optimizer/plan/analyzejoins.c b/src/backend/optimizer/plan/analyzejoins.c index c328cbdb8d3..6c02fe89085 100644 --- 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)