]> granicus.if.org Git - postgresql/commitdiff
Fix documentation error in commit 8703059c6b55c427100e00a09f66534b6ccbfaa1.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Oct 2015 14:31:22 +0000 (10:31 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Oct 2015 14:31:50 +0000 (10:31 -0400)
Etsuro Fujita spotted a thinko in the README commentary.

src/backend/optimizer/README

index 00195461fba43a9e807e648fd8103c84ead022d8..cc6d5a705df5bfe70925c0fdcfb188a075f5f12e 100644 (file)
@@ -254,7 +254,7 @@ lower leftjoin has min LHS of {B} and min RHS of {C,D}.  Given such
 information, join_is_legal would think it's okay to associate the upper
 join into the lower join's RHS, transforming the query to
        B leftjoin (A leftjoin (C innerjoin D) on Pa) on (Pbcd)
-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
 for the upper join to include B.  This is perhaps overly restrictive, but
 such cases don't arise often so it's not clear that it's worth developing a
 more complicated system.