Add support for doing FULL JOIN ON FALSE. While this is really a rather

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c5afcf904048d83690958f9a059e4444e6e3a3ec
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-05T23:25:44Z
Releases: 8.4.3
Add support for doing FULL JOIN ON FALSE.  While this is really a rather
peculiar variant of UNION ALL, and so wouldn't likely get written directly
as-is, it's possible for it to arise as a result of simplification of
less-obviously-silly queries.  In particular, now that we can do flattening
of subqueries that have constant outputs and are underneath an outer join,
it's possible for the case to result from simplification of queries of the
type exhibited in bug #5263.  Back-patch to 8.4 to avoid a functionality
regression for this type of query.

Files