OSDN Git Service

Be a little smarter in group_clauses_by_indexkey_for_join: detect cases
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Dec 2003 00:22:12 +0000 (00:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Dec 2003 00:22:12 +0000 (00:22 +0000)
commit109a4a603f68305a5dade9eb2fd19aba8c6ddcdc
tree9cfbe61ae460dc5724d912e404473a580cfdbd22
parent422249120daceb216c7f36cd23c8f5d28e51bf1d
Be a little smarter in group_clauses_by_indexkey_for_join: detect cases
where a joinclause is redundant with a restriction clause.  Original coding
believed this was impossible and didn't need to be checked for, but that
was a thinko ...
src/backend/optimizer/path/indxpath.c