Fix some (more) problems with subselects in rules. Rewriter failed to

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

Commit: e64a331179607fece8cfaef4f2a3ffb6a481f4f2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-03-16T03:23:18Z
Releases: 7.1.1
Fix some (more) problems with subselects in rules.  Rewriter failed to
mark query as having subselects if a subselect was added from a rule
WHERE condition (as opposed to a rule action).  Also, fix adjustment
of varlevelsup so that it actually has some prospect of working when
inserting an expression containing a subselect into a subquery.

Files