We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3123ee0 commit 21995d3Copy full SHA for 21995d3
src/backend/optimizer/README
@@ -254,7 +254,7 @@ lower leftjoin has min LHS of {B} and min RHS of {C,D}. Given such
254
information, join_is_legal would think it's okay to associate the upper
255
join into the lower join's RHS, transforming the query to
256
B leftjoin (A leftjoin (C innerjoin D) on Pa) on (Pbcd)
257
-which yields totally wrong answers. We prevent that by forcing the min LHS
+which yields totally wrong answers. We prevent that by forcing the min RHS
258
for the upper join to include B. This is perhaps overly restrictive, but
259
such cases don't arise often so it's not clear that it's worth developing a
260
more complicated system.
0 commit comments