Fix oversights in flatten_tlistentry and replace_clause_joinvar_refs

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

Commit: ec1f5f78b9ad9932073a9a054205c480155654ca
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-05-06T23:07:33Z
Releases: 7.1.1
Fix oversights in flatten_tlistentry and replace_clause_joinvar_refs
that led to CASE expressions not working very well in joined queries.

Files

PathChange+/−
src/backend/optimizer/plan/setrefs.c modified +155 −152
src/backend/optimizer/util/tlist.c modified +52 −86