Commit Graph

788 Commits (055b0d27f6aba9c43c93c0f368bba7b987816e7f)

Author SHA1 Message Date
Tom Lane 8efbe30df5 check_sql_fn_retval has always thought that we supported doing 22 years ago
Tom Lane 27a4f06ade Get rid of crocky use of RangeVar nodes in parser to represent partially 22 years ago
Tom Lane 8d9a28eeef Use fuzzy comparison of path costs in add_path(), so that paths with the 22 years ago
Tom Lane 7820ee24c9 Now that we are allowing index opclasses to contain operators that are 22 years ago
Tom Lane 8899a2aba9 Replace max_expr_depth parameter with a max_stack_depth parameter that 22 years ago
Tom Lane f938c2b91b Revise syntax-error reporting behavior to give pleasant results for 22 years ago
Tom Lane 55f7c3300d Reimplement CASE val WHEN compval1 THEN ... WHEN compval2 THEN ... END 22 years ago
Tom Lane 04226b6404 Tweak planner so that index expressions and predicates are matched to 22 years ago
Tom Lane 7998e8ca6a Test for whether a previous IN join restricts the current join was too 22 years ago
Tom Lane bc19d6641a When testing usability of a partial index, recognize that an index 22 years ago
Tom Lane 03e2a47e0b Teach is_distinct_query to recognize that GROUP BY forces a subquery's 22 years ago
Tom Lane 64917ccb56 make_sort_from_pathkeys()'s method for choosing which of several 22 years ago
Tom Lane 6161766daf Adjust remove_redundant_join_clauses() so that when it has a choice 22 years ago
Tom Lane f5d8f0bb19 process_implied_equality must copy the substructure of the clauses it 22 years ago
Tom Lane a536ed53bc Make use of statistics on index expressions. There are still some 22 years ago
Tom Lane 2e5fe483a3 Repair optimization bug I introduced in a moment of brain fade back in 22 years ago
Tom Lane 391c3811a2 Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. 22 years ago
Tom Lane 4405b3e05e simplify_function() mustn't try to evaluate functions that return 22 years ago
Tom Lane 5d66583678 Repair planner failure for cases involving Cartesian products inside 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 0ee53b5c33 Don't return an overoptimistic result from join_in_selectivity when 22 years ago
Tom Lane 864412fd0a Recognize that IN subqueries return already-unique results if they use 22 years ago
Tom Lane 6bdfde9a77 When testing whether a sub-plan can do projection, use a general-purpose 22 years ago
Tom Lane cfd7fb7ed4 Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time 22 years ago
Tom Lane 67af5bace5 Fix another place that wasn't maintaining AND/OR flatness of an 22 years ago
Tom Lane 5590be0a9e Preserve AND/OR flatness during eval_const_expressions(). This seems a 22 years ago
Tom Lane a43f4307f7 Improve has_nullable_targetlist() to allow strict functions of simple 22 years ago
Tom Lane e439fef6fc Fix subquery pullup logic to not be fooled when a view that appears 22 years ago
Tom Lane cad5f4a8c4 Make some improvements in the intelligence of the partial-index 22 years ago
Neil Conway 192ad63bd7 More janitorial work: remove the explicit casting of NULL literals to a 22 years ago
Tom Lane b0c4a50bbb Instead of rechecking lossy index operators by putting them into the 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 cce442da6d Dept. of second thoughts: clause_selectivity shouldn't try to cache its 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 9888192fb7 Instead of trying to force WHERE clauses into CNF or DNF normal form, 22 years ago
Tom Lane b53ca9bbcb Improve comment. 22 years ago
Tom Lane c607bd693f Clean up the usage of canonicalize_qual(): in particular, be consistent 22 years ago
Bruce Momjian ed96bfde18 Here is the definition of relation_byte_size() in optimizer/path/costsize.c: 22 years ago
Tom Lane 109a4a603f Be a little smarter in group_clauses_by_indexkey_for_join: detect cases 22 years ago
Tom Lane 99e922a01d Repair planner failure when there are multiple IN clauses, each with 22 years ago
Tom Lane 2d83e7c73c query_tree_mutator should copy RangeTblEntry nodes even when it's not 22 years ago
Tom Lane b281ea8cf1 Whole-row references were broken for subqueries and functions, because 22 years ago
Tom Lane 7f8f7665fc Planner failed to be smart about binary-compatible expressions in pathkeys 22 years ago
PostgreSQL Daemon 55b113257c make sure the $Id tags are converted to $PostgreSQL as well ... 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago