Fix a comment for remove_self_joins_recurse()

Discussion: https://postgr.es/m/18187-831da249cbd2ff8e%40postgresql.org
Author: Richard Guo
Reviewed-by: Andrei Lepikhov
This commit is contained in:
Alexander Korotkov 2023-12-25 01:31:24 +02:00
parent b5fb6736ed
commit 0a93f803f4

View file

@ -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)