Previous fix for "x FULL JOIN y ON true" failed to handle the case
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 May 2005 18:03:24 +0000 (18:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 24 May 2005 18:03:24 +0000 (18:03 +0000)
commit0a7b3a3649c7a03c432ef172f6b9efb3adc52868
tree0a0d88cfa05281b12842c41cb4dbc7983182654a
parent88c59aeed86d5602d35fbc247573d5a9d9da504c
Previous fix for "x FULL JOIN y ON true" failed to handle the case
where there was also a WHERE-clause restriction that applied to the
join.  The check on restrictlist == NIL is really unnecessary anyway,
because select_mergejoin_clauses already checked for and complained
about any unmergejoinable join clauses.  So just take it out.
src/backend/optimizer/path/joinpath.c