Commit Graph

150 Commits (b9e8ffcd5d1a3d45b2f697ea944931f56367c86b)

Author SHA1 Message Date
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Tom Lane b06fbc7ad2 Fix performance issue with qualifications on VIEWs: outer query should 25 years ago
Tom Lane ea166f1146 Planner speedup hacking. Avoid saving useless pathkeys, so that path 25 years ago
Tom Lane 73d2a3595a Clean up handling of FOR UPDATE inside views and subselects ... make it 25 years ago
Tom Lane 6543d81d65 Restructure handling of inheritance queries so that they work with outer 25 years ago
Tom Lane a1d133990f Repair some bugs in new union/intersect/except code. 25 years ago
Tom Lane 11f7b29054 Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where 25 years ago
Tom Lane 2f35b4efdb Re-implement LIMIT/OFFSET as a plan node type, instead of a hack in 25 years ago
Tom Lane 05e3d0ee86 Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the 25 years ago
Tom Lane 3a94e789f5 Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias. 25 years ago
Tom Lane 164caa3951 System neglected to complain about ungrouped variables passed to 25 years ago
Tom Lane ed5003c584 First cut at full support for OUTER JOINs. There are still a few loose 25 years ago
Tom Lane 7893462e44 Move pg_checkretval out of the planner (where it never belonged) into 25 years ago
Tom Lane 62e29fe2e7 Remove 'func_tlist' from Func expression nodes, likewise 'param_tlist' 25 years ago
Tom Lane ff7da2f498 Make planner safe for recursive calls --- needed for cases where 26 years ago
Tom Lane 38db5fab29 Make inheritance planning logic a little simpler and clearer, 26 years ago
Tom Lane 1ee26b7764 Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the 26 years ago
Bruce Momjian df43800fc8 Clean up #include's. 26 years ago
Tom Lane ce7746201b Cause inheritance patch to meet minimum coding standards (no gcc 26 years ago
Bruce Momjian 8c1d09d591 Inheritance overhaul by Chris Bitmead <chris@bitmead.com> 26 years ago
Bruce Momjian a12a23f0d0 Remove unused include files. Do not touch /port or includes used by defines. 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Tom Lane 3ee8f7e207 Restructure planning code so that preprocessing of targetlist and quals 26 years ago
Tom Lane 6217a8c7ba Fix some bogosities in the code that deals with estimating the fraction 26 years ago
Tom Lane be05edd812 Tweak planner to use OFFSET+LIMIT, not just LIMIT, as estimate of the 26 years ago
Tom Lane b1577a7c78 New cost model for planning, incorporating a penalty for random page 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 f7f41c7c8c Replace generic 'Illegal use of aggregates' error message with one that 26 years ago
Tom Lane f68e11f373 Implement subselects in target lists. Also, relax requirement that 26 years ago
Tom Lane 3eb1c82277 Fix planner and rewriter to follow SQL semantics for tables that are 26 years ago
Tom Lane 40f6524161 Implement constant-expression simplification per Bernard 26 years ago
Tom Lane bd272cace6 Mega-commit to make heap_open/heap_openr/heap_close take an 26 years ago
Tom Lane 43d32d3683 First cut at doing something reasonable with OR-of-ANDs WHERE 26 years ago
Tom Lane 37d20eb855 Clean up some mistakes in handling of uplevel Vars in planner. 26 years ago
Tom Lane e8140adb10 Further sort-order twiddling in optimizer: be smart about 26 years ago
Tom Lane 78114cd4d4 Further planner/optimizer cleanups. Move all set_tlist_references 26 years ago
Tom Lane db436adf76 Major revision of sort-node handling: push knowledge of query 26 years ago
Bruce Momjian 158fd5f1c4 > > Prevent sorting if result is already sorted 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 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
Tom Lane fd8e580bb7 Clean up problems with sublinks + grouping in planner. Not 27 years ago
Tom Lane acf242da97 Plug hole in dike: planner would coredump if query_planner 27 years ago
Tom Lane b4210ae0f0 Fix problems with grouping/aggregation in queries that use 27 years ago
Bruce Momjian 07842084fe pgindent run over code. 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 79c2576f77 Replaced targetlist entry in GroupClause by reference number 27 years ago