Commit Graph

255 Commits (a536ed53bca40cb0d199824e358a86fcfd5db7f2)

Author SHA1 Message Date
Tom Lane a536ed53bc Make use of statistics on index expressions. There are still some 22 years ago
Tom Lane 3969f2924b Revise GEQO planner to make use of some heuristic knowledge about SQL, namely 22 years ago
Tom Lane 672a807028 Repair error apparently introduced in the initial coding of GUC: the 22 years ago
Tom Lane 6bdfde9a77 When testing whether a sub-plan can do projection, use a general-purpose 22 years ago
Tom Lane fa559a86ee Adjust indexscan planning logic to keep RestrictInfo nodes associated 22 years ago
Tom Lane 5c74ce23db Improve UniquePath logic to detect the case where the input is already 22 years ago
Tom Lane 9091e8d1b2 Add the ability to extract OR indexscan conditions from OR-of-AND 22 years ago
Tom Lane 82b4dd394f Merge restrictlist_selectivity into clauselist_selectivity by 22 years ago
Tom Lane 6cb1c0238b Rewrite OR indexscan processing to be more flexible. We can now for the 22 years ago
Tom Lane be6c38b903 Adjust the definition of RestrictInfo's left_relids and right_relids 22 years ago
Tom Lane c607bd693f Clean up the usage of canonicalize_qual(): in particular, be consistent 22 years ago
PostgreSQL Daemon 55b113257c make sure the $Id tags are converted to $PostgreSQL as well ... 22 years ago
Tom Lane 48beecda7c Remove geqo_random_seed parameter. Having geqo reset the global random() 23 years ago
Bruce Momjian 46785776c4 Another pgindent run with updated typedefs. 23 years ago
Bruce Momjian f3c3deb7d0 Update copyrights to 2003. 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane 3d09f6c560 Make cost estimates for SubqueryScan more realistic: charge cpu_tuple_cost 23 years ago
Tom Lane 835bb975d8 Restructure building of join relation targetlists so that a join plan 23 years ago
Tom Lane bee217924d Support expressions of the form 'scalar op ANY (array)' and 23 years ago
Bruce Momjian 111d8e522b Back out array mega-patch. 23 years ago
Bruce Momjian 46bf651480 Array mega-patch. 23 years ago
Tom Lane cb02610e50 Adjust nestloop-with-inner-indexscan plan generation so that we catch 23 years ago
Bruce Momjian 9167a566d6 Add missing DLLIMPORT for cpu_index_tuple_cost to 23 years ago
Tom Lane e649796f12 Implement outer-level aggregates to conform to the SQL spec, with 23 years ago
Tom Lane fc8d970cbc Replace functional-index facility with expressional indexes. Any column 23 years ago
Tom Lane f45df8c014 Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing 23 years ago
Tom Lane 2cf57c8f8d Implement feature of new FE/BE protocol whereby RowDescription identifies 23 years ago
Tom Lane 5f677af2da Adjust subquery qual pushdown rules so that we can push down a qual 23 years ago
Tom Lane aa83bc04e0 Restructure parsetree representation of DECLARE CURSOR: now it's a 23 years ago
Tom Lane 21591967bc Turns out new IN implementation has got some problems in an UPDATE or 23 years ago
Tom Lane 056467ec6b Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to 23 years ago
Tom Lane b5956a2f22 Detect case where an outer join can be reduced to a plain inner join 23 years ago
Tom Lane 145014f811 Make further use of new bitmapset code: executor's chgParam, extParam, 23 years ago
Tom Lane c15a4c2aef Replace planner's representation of relation sets, per pghackers discussion. 23 years ago
Tom Lane 2d1f940542 Minor code cleanup: remove no-longer-useful pull_subplans() function, 23 years ago
Tom Lane 4cff59d8d5 Tweak planner and executor to avoid doing ExecProject() in table scan 23 years ago
Tom Lane 2e46b762eb Extend join-selectivity API (oprjoin interface) so that join type is 23 years ago
Tom Lane 70fba70430 Upgrade cost estimation for joins, per discussion with Bradley Baetz. 23 years ago
Tom Lane 9f5f212475 Allow the planner to collapse explicit inner JOINs together, rather than 23 years ago
Tom Lane f5e83662d0 Modify planner's implied-equality-deduction code so that when a set 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 b19adc1aae Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code 23 years ago
Tom Lane a4d82dd4b4 Adjust API of expression_tree_mutator and query_tree_mutator to 23 years ago
Tom Lane cde9f852e0 Now that switch_outer processing no longer relies on being run after 23 years ago
Tom Lane de97072e3c Allow merge and hash joins to occur on arbitrary expressions (anything not 23 years ago
Tom Lane 56e1aab286 Reconsider mechanism for marking sub-selects that are at top level of 23 years ago
Tom Lane d4ce5a4f4c Revise cost_qual_eval() to compute both startup (one-time) and per-tuple 23 years ago
Tom Lane 9f76d0d926 Fix GEQO to work again in CVS tip, by being more careful about memory 23 years ago
Tom Lane 2d8d66628a Clean up plantree representation of SubPlan-s --- SubLink does not appear 23 years ago
Tom Lane b0422b215c Preliminary code review for domain CHECK constraints patch: add documentation, 23 years ago