Commit Graph

440 Commits (c1777f2d6d43adf9bc65da3e44a3a5ad2cbfa86d)

Author SHA1 Message Date
Heikki Linnakangas 997a6a278f Remove superfluous curly brace, fixing compilation with OPTIMIZER_DEBUG. 16 years ago
Tom Lane caf9c830d9 Improve planning of Materialize nodes inserted atop the inner input of a 16 years ago
Tom Lane 9f2ee8f287 Re-implement EvalPlanQual processing to improve its performance and eliminate 16 years ago
Tom Lane 0adaf4cb31 Move the handling of SELECT FOR UPDATE locking and rechecking out of 16 years ago
Tom Lane 488d70ab46 Implement "join removal" for cases where the inner side of a left join 17 years ago
Tom Lane 57c9dff9d1 Fix subquery pullup to wrap a PlaceHolderVar around the entire RowExpr 17 years ago
Tom Lane 9b27eab71c Fix set_append_rel_pathlist() to deal intelligently with cases where 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 1d97c19a0f Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from 17 years ago
Tom Lane 4886dc92e0 Fix set_subquery_pathlist() to copy the RTE's subquery before it gets mangled 17 years ago
Tom Lane ce6e31de9c Teach the planner to treat a partial unique index as proving a variable is 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 0656ed3daa Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan 17 years ago
Tom Lane 0436679969 Get rid of adjust_appendrel_attr_needed(), which has been broken ever since 17 years ago
Tom Lane e6ae3b5dbf Add a concept of "placeholder" variables to the planner. These are variables 17 years ago
Tom Lane 44d5be0e53 Implement SQL-standard WITH clauses, including WITH RECURSIVE. 17 years ago
Tom Lane e5536e77a5 Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 18 years ago
Tom Lane 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 18 years ago
Tom Lane 2c2161a47d Improve planner's estimation of the size of an append relation: rather than 18 years ago
Tom Lane 6b73d7e567 Fix an oversight I made in a cleanup patch over a year ago: 18 years ago
Tom Lane fd791e7b5a When a relation has been proven empty by constraint exclusion, propagate that 18 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 cdf0231c88 Create a function variable "join_search_hook" to let plugins override the 19 years ago
Tom Lane cadb78330e Repair two constraint-exclusion corner cases triggered by proving that an 19 years ago
Tom Lane afcf09dd90 Some further performance tweaks for planning large inheritance trees that 19 years ago
Tom Lane 48239e156f Avoid useless work during set_plain_rel_pathlist() when the relation 19 years ago
Tom Lane eab6b8b27e Turn the rangetable used by the executor into a flat list, and avoid storing 19 years ago
Tom Lane 9cbd0c155d Remove the Query structure from the executor's API. This allows us to stop 19 years ago
Tom Lane 7c5e5439d2 Get rid of some old and crufty global variables in the planner. When 19 years ago
Tom Lane 2b8758a389 Repair oversight in creation of "append relations": we should set up 19 years ago
Tom Lane f41803bb39 Refactor planner's pathkeys data structure to create a separate, explicit 19 years ago
Tom Lane 4431758229 Support ORDER BY ... NULLS FIRST/LAST, and add ASC/DESC/NULLS FIRST/NULLS LAST 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. 20 years ago
Tom Lane b74c543685 Improve usage of effective_cache_size parameter by assuming that all the 20 years ago
Tom Lane fb9e56eea1 Suppress subquery pullup/pushdown when a subquery contains volatile 20 years ago
Tom Lane 0ee26100b6 Fix UNION/INTERSECT/EXCEPT so that when two inputs being merged have 20 years ago
Joe Conway 9caafda579 Add support for multi-row VALUES clauses as part of INSERT statements 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian fa601357fb Sort reference of include files, "A" - "F". 20 years ago
Tom Lane cffd89ca73 Revise the planner's handling of "pseudoconstant" WHERE clauses, that is 20 years ago
Tom Lane 427c6b5b98 Avoid assuming that statistics for a parent relation reflect the properties of 20 years ago
Tom Lane 986085a7f0 Improve the representation of FOR UPDATE/FOR SHARE so that we can 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 4299a92d3c Fix qual_is_pushdown_safe to not try to push down quals involving a whole-row 20 years ago
Tom Lane 3893127431 Fix constraint exclusion to work in inherited UPDATE/DELETE queries 20 years ago
Tom Lane 8b109ebf14 Teach planner to convert simple UNION ALL subqueries into append relations, 20 years ago