Commit Graph

118 Commits (52783b212c7c0ef5ab2ee6bda17c8db0ed13d4ab)

Author SHA1 Message Date
Tom Lane b78f6264eb Rework join-removal logic as per recent discussion. In particular this 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 1a95f12702 Eliminate a lot of list-management overhead within join_search_one_level 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 95b07bc7f5 Support window functions a la SQL:2008. 17 years ago
Tom Lane 31468d05d8 Dept of better ideas: refrain from creating the planner's placeholder_list 17 years ago
Tom Lane e6ae3b5dbf Add a concept of "placeholder" variables to the planner. These are variables 17 years ago
Tom Lane e006a24ad1 Implement SEMI and ANTI joins in the planner and executor. (Semijoins replace 17 years ago
Tom Lane be3b265c94 Improve SELECT DISTINCT to consider hash aggregation, as well as sort/uniq, 17 years ago
Tom Lane ec73b56a31 Make GROUP BY work properly for datatypes that only support hashing and not 17 years ago
Tom Lane 63247bec28 Fix parser so that we don't modify the user-written ORDER BY list in order 17 years ago
Tom Lane 59fc64acee Fix a conceptual error in my patch of 2007-10-26 that avoided considering 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 89db887b1e Keep the planner from failing on "WHERE false AND something IN (SELECT ...)". 18 years ago
Tom Lane 48d9d8e131 Fix a couple of planner bugs introduced by the new ability to discard 18 years ago
Tom Lane d26559dbf3 Teach tuplesort.c about "top N" sorting, in which only the first N tuples 19 years ago
Tom Lane afcf09dd90 Some further performance tweaks for planning large inheritance trees that 19 years ago
Tom Lane f41803bb39 Refactor planner's pathkeys data structure to create a separate, explicit 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane b74c543685 Improve usage of effective_cache_size parameter by assuming that all the 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 19 years ago
Tom Lane cffd89ca73 Revise the planner's handling of "pseudoconstant" WHERE clauses, that is 19 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 8a1468af4e Restructure planner's handling of inheritance. Rather than processing 20 years ago
Tom Lane e3b9852728 Teach planner how to rearrange join order for some classes of OUTER JOIN. 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 2e1254e7fa Repair planning bug introduced in 7.4: outer-join ON clauses that referenced 20 years ago
Tom Lane 4e5fbb34b3 Change the division of labor between grouping_planner and query_planner 20 years ago
Tom Lane cc5e80b8d1 Teach planner about some cases where a restriction clause can be 21 years ago
Tom Lane a87ee007ed Quick hack to allow the outer query's tuple_fraction to be passed down 21 years ago
Tom Lane e3a33a9a9f Marginal hack to avoid spending a lot of time in find_join_rel during 21 years ago
Tom Lane 9a586fe0c5 Nab some low-hanging fruit: replace the planner's base_rel_list and 21 years ago
Tom Lane 9ab4d98168 Remove planner's private fields from Query struct, and put them into 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane 45708f5ebc Error message editing in backend/optimizer, backend/rewrite. 22 years ago
Tom Lane aa83bc04e0 Restructure parsetree representation of DECLARE CURSOR: now it's a 23 years ago
Tom Lane bdfbfde1b1 IN clauses appearing at top level of WHERE can now be handled as joins. 23 years ago
Tom Lane de97072e3c Allow merge and hash joins to occur on arbitrary expressions (anything not 23 years ago
Tom Lane 6c1d4662af Finish implementation of hashed aggregation. Add enable_hashagg GUC 23 years ago
Tom Lane f6dba10e62 First phase of implementing hash-based grouping/aggregation. An AGG plan 23 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 23 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago