postgresql/src/include/rewrite
Tom Lane 389af07cf0 Clean up rewriter routines to use expression_tree_walker and
expression_tree_mutator rather than ad-hoc tree walking code.  This shortens
the code materially and fixes a fair number of sins of omission.  Also,
change modifyAggrefQual to *not* recurse into subselects, since its mission
is satisfied if it removes aggregate functions from the top level of a
WHERE clause.  This cures problems with queries of the form SELECT ...
WHERE x IN (SELECT ... HAVING something-using-an-aggregate), which would
formerly get mucked up by modifyAggrefQual.  The routine is still
fundamentally broken, of course, but I don't think there's any way to get
rid of it before we implement subselects in FROM ...
1999-10-01 04:08:24 +00:00
..
locks.h Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
prs2lock.h Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
rewriteDefine.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
rewriteHandler.h Clean up #include in /include directory. Add scripts for checking includes. 1999-07-15 15:21:54 +00:00
rewriteManip.h Clean up rewriter routines to use expression_tree_walker and 1999-10-01 04:08:24 +00:00
rewriteRemove.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
rewriteSupport.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00