OSDN Git Service

Fix some (more) problems with subselects in rules. Rewriter failed to
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Mar 2000 03:23:18 +0000 (03:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Mar 2000 03:23:18 +0000 (03:23 +0000)
commite64a331179607fece8cfaef4f2a3ffb6a481f4f2
tree2ae8c01838944d14215fa2655c3609dbd64ae320
parent4a3a1e2cf15bdb4c0cad08043bec3111cd700113
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.
src/backend/rewrite/rewriteHandler.c
src/backend/rewrite/rewriteManip.c
src/include/rewrite/rewriteManip.h