OSDN Git Service

In find_mergeclauses_for_pathkeys, it's okay to return multiple merge
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Nov 2001 20:33:53 +0000 (20:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Nov 2001 20:33:53 +0000 (20:33 +0000)
commitc5c97318f974e983f06b7a3636bcdd6d1bdb73b3
tree0c29a2e2a92304fcd057d8631f57b1137b256f23
parentc336b58f93676320466daca77ae70e8cc372ede2
In find_mergeclauses_for_pathkeys, it's okay to return multiple merge
clauses per path key.  Indeed, we *must* do so or we will be unable to
form a valid plan for FULL JOIN with overlapping join conditions, eg
select * from a full join b on
a.v1 = b.v1 and a.v2 = b.v2 and a.v1 = b.v2.
src/backend/optimizer/path/pathkeys.c