Skip to content

Commit 21995d3

Browse files
committed
Fix documentation error in commit 8703059.
Etsuro Fujita spotted a thinko in the README commentary.
1 parent 3123ee0 commit 21995d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/optimizer/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ lower leftjoin has min LHS of {B} and min RHS of {C,D}. Given such
254254
information, join_is_legal would think it's okay to associate the upper
255255
join into the lower join's RHS, transforming the query to
256256
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
257+
which yields totally wrong answers. We prevent that by forcing the min RHS
258258
for the upper join to include B. This is perhaps overly restrictive, but
259259
such cases don't arise often so it's not clear that it's worth developing a
260260
more complicated system.

0 commit comments

Comments
 (0)