Commit Graph

78 Commits (62e29fe2e748933bfd8ab1429518ee7b5a8974a7)

Author SHA1 Message Date
Tom Lane 62e29fe2e7 Remove 'func_tlist' from Func expression nodes, likewise 'param_tlist' 25 years ago
Tom Lane b41f4ab8c4 Use a private memory context to store rule information in each relcache 26 years ago
Bruce Momjian df43800fc8 Clean up #include's. 26 years ago
Bruce Momjian 332f0f5fc0 Rename rule CURRENT to OLD in source tree. Add mapping for backward 26 years ago
Bruce Momjian a12a23f0d0 Remove unused include files. Do not touch /port or includes used by defines. 26 years ago
Tom Lane f106779263 Except_Intersect_Rewrite() failed to ignore resjunk targetlist entries, 26 years ago
Tom Lane 7c22d2e5f0 Correct error in rewriter that caused SELECT count(*) FROM view 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Tom Lane 7fbf0af22b When rewriting an aggregate introduced into WHERE, allow agg argument to 26 years ago
Tom Lane e64a331179 Fix some (more) problems with subselects in rules. Rewriter failed to 26 years ago
Tom Lane ef3386affe Fix performance problem in fireRIRonSubselect: with nested subqueries, 26 years ago
Tom Lane dd979f66be Redesign DISTINCT ON as discussed in pgsql-sql 1/25/00: syntax is now 26 years ago
Bruce Momjian 5c25d60244 Add: 26 years ago
Tom Lane ac4878a060 Pass atttypmod to CoerceTargetExpr, so that it can pass it on to 26 years ago
Bruce Momjian b78769fda2 Fix it's and its to be correct. 26 years ago
Tom Lane f68e11f373 Implement subselects in target lists. Also, relax requirement that 26 years ago
Tom Lane 15455e14b8 Eliminate RewritePreprocessQuery, which was taking an 26 years ago
Tom Lane 3d5079c174 Except_Intersect_Rewrite() forgot to move LIMIT info to new 26 years ago
Tom Lane 3eb1c82277 Fix planner and rewriter to follow SQL semantics for tables that are 26 years ago
Tom Lane 54204e6c78 Stick finger into a couple more holes in the leaky dike of 26 years ago
Tom Lane 389af07cf0 Clean up rewriter routines to use expression_tree_walker and 26 years ago
Tom Lane fe2ab18ed9 Remove incorrect 'Assert(targetList != NULL)'. An 26 years ago
Tom Lane bd272cace6 Mega-commit to make heap_open/heap_openr/heap_close take an 26 years ago
Tom Lane 42af56e1ea Revise implementation of SubLinks so that there is a consistent, 26 years ago
Bruce Momjian 3406901a29 Move some system includes into c.h, and remove duplicates. 27 years ago
Bruce Momjian a71802e12e Final cleanup. 27 years ago
Bruce Momjian 9b645d481c Update #include cleanups 27 years ago
Bruce Momjian 2e6b1e63a3 Remove unused #includes in *.c files. 27 years ago
Bruce Momjian 4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 27 years ago
Bruce Momjian ad4948862c Remove S*I comments from Stephan. 27 years ago
Tom Lane eeaeb1bda8 RewritePreprocessQuery tried to match resjunk targets against 27 years ago
Tom Lane 1f2c6f4f48 Replace rewriter's checkQueryHasAggs and checkQueryHasSubLink 27 years ago
Bruce Momjian 278bbf4572 Make functions static or NOT_USED as appropriate. 27 years ago
Bruce Momjian 07842084fe pgindent run over code. 27 years ago
Jan Wieck b122e16a1c Bugfix - Range table entries that are unused after rewriting should 27 years ago
Bruce Momjian 19c4e862d4 Skip junk nodes when comparing UNION target list lengths. 27 years ago
Bruce Momjian 585c967720 Change resjunk to a boolean. 27 years ago
Tom Lane 507a0a2ab0 Rip out QueryTreeList structure, root and branch. Querytree 27 years ago
Jan Wieck b7a86e4046 Fixed wrong hasAggs when aggregate columns of view aren't 27 years ago
Jan Wieck 79c2576f77 Replaced targetlist entry in GroupClause by reference number 27 years ago
Tom Lane 0b69d8a27c Rearrange top-level rewrite operations so that EXPLAIN works 27 years ago
Bruce Momjian 1ed5cbbfd8 Final optimizer cleanups. 27 years ago
Marc G. Fournier 8c3e8a8a0e From: Tatsuo Ishii <t-ishii@sra.co.jp> 27 years ago
Bruce Momjian 6724a50787 Change my-function-name-- to my_function_name, and optimizer renames. 27 years ago
Bruce Momjian 9322950aa4 Cleanup of source files where 'return' or 'var =' is alone on a line. 27 years ago
Bruce Momjian 4390b0bfbe Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 27 years ago
Bruce Momjian 1401f63dd1 Agg/Aggreg cleanup and datetime.sql patch. 27 years ago
Vadim B. Mikheev 247b3f9054 SELECT FOR UPDATE is implemented... 27 years ago
Bruce Momjian 17467bb7fb Rename Aggreg to Aggref. 27 years ago
Vadim B. Mikheev 12be3e08f1 FOR UPDATE is in parser & rules. 27 years ago