Commit Graph

1103 Commits (dbe48765cd5697349ac00bd3e81cf45c8e0ddb1f)

Author SHA1 Message Date
Tom Lane 3ef18797b8 Fix an error in make_outerjoininfo introduced by my patch of 30-Aug: the code 18 years ago
Tom Lane c29a9c37bf Fix UPDATE/DELETE WHERE CURRENT OF to support repeated update and update- 18 years ago
Tom Lane 88ae1bd3f2 Remove an Assert that's been obsoleted by recent changes in the parsetree 18 years ago
Tom Lane 106264ca3f Teach planagg.c that partial indexes specifying WHERE foo IS NOT NULL can be 18 years ago
Tom Lane 2b0c86b665 Ensure that the result of evaluating a function during constant-expression 18 years ago
Tom Lane 82d8ab6fc4 Fix the plan-invalidation mechanism to treat regclass constants that refer to 18 years ago
Tom Lane 89db887b1e Keep the planner from failing on "WHERE false AND something IN (SELECT ...)". 18 years ago
Tom Lane cdf0231c88 Create a function variable "join_search_hook" to let plugins override the 18 years ago
Tom Lane 7125687511 Fix cost estimates for EXISTS subqueries that are evaluated as initPlans 18 years ago
Tom Lane 282d2a03dd HOT updates. When we update a tuple without changing any of its indexed 18 years ago
Tom Lane f8942f4a15 Make eval_const_expressions() preserve typmod when simplifying something like 18 years ago
Tom Lane 2abae34a2e Implement function-local GUC parameter settings, as per recent discussion. 18 years ago
Tom Lane 0ee5a39862 Apply a band-aid fix for the problem that 8.2 and up completely misestimate 18 years ago
Tom Lane b4c806faa8 Rewrite make_outerjoininfo's construction of min_lefthand and min_righthand 18 years ago
Tom Lane 67bf7b919e Make ARRAY(SELECT ...) return an empty array, rather than a NULL, when the 18 years ago
Tom Lane 507b53c833 Fix predicate-proving logic to cope with binary-compatibility cases when 18 years ago
Tom Lane d514ea3fda Fix an old thinko in SS_make_initplan_from_plan, which is used when optimizing 18 years ago
Tom Lane bc8d164d06 Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg Stark. 18 years ago
Tom Lane 48d9d8e131 Fix a couple of planner bugs introduced by the new ability to discard 18 years ago
Tom Lane 46379d6e60 Separate parse-analysis for utility commands out of parser/analyze.c 18 years ago
Tom Lane 6808f1b1de Support UPDATE/DELETE WHERE CURRENT OF cursor_name, per SQL standard. 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane 10f719af33 Change build_index_pathkeys() so that the expressions it builds to represent 19 years ago
Tom Lane cadb78330e Repair two constraint-exclusion corner cases triggered by proving that an 19 years ago
Tom Lane 604ffd280b Create hooks to let a loadable plugin monitor (or even replace) the planner 19 years ago
Tom Lane 11086f2f2b Repair planner bug introduced in 8.2 by ability to rearrange outer joins: 19 years ago
Tom Lane d7153c5fad Fix best_inner_indexscan to return both the cheapest-total-cost and 19 years ago
Tom Lane 2415ad9831 Teach tuplestore.c to throw away data before the "mark" point when the caller 19 years ago
Tom Lane 1856e609ec Improve predicate_refuted_by_simple_clause() to handle IS NULL and IS NOT NULL 19 years ago
Tom Lane d26559dbf3 Teach tuplesort.c about "top N" sorting, in which only the first N tuples 19 years ago
Tom Lane b4349519c1 Fix a thinko in my patch of a couple months ago for bug #3116: it did the 19 years ago
Tom Lane 57b82bf324 Marginal performance hack: use a dedicated routine instead of copyObject 19 years ago
Tom Lane afaa6b9821 Marginal performance hack: avoid unnecessary work in expression_tree_mutator. 19 years ago
Tom Lane bbbe825f5f Modify processing of DECLARE CURSOR and EXPLAIN so that they can resolve the 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 925ca9d7de Tweak make_inh_translation_lists() to check the common case wherein parent and 19 years ago
Tom Lane ca3d14f2a9 Tweak set_rel_width() to avoid redundant executions of getrelid(). 19 years ago
Tom Lane 2e824a8ea9 Rewrite choose_bitmap_and() to make it more robust in the presence of 19 years ago
Tom Lane 66888f7424 Expose more cursor-related functionality in SPI: specifically, allow 19 years ago
Tom Lane fa92d21a48 Avoid running build_index_pathkeys() in situations where there cannot 19 years ago
Tom Lane b396df8485 Don't remove the 'alias' field from flattened rangetable entries; 19 years ago
Tom Lane f02a82b6ad Make 'col IS NULL' clauses be indexable conditions. 19 years ago
Tom Lane 57690c6803 Support enum data types. Along the way, use macros for the values of 19 years ago
Tom Lane bf94076348 Fix array coercion expressions to ensure that the correct volatility is 19 years ago
Tom Lane 54d20024c1 Fix some problems with selectivity estimation for partial indexes. 19 years ago
Tom Lane 0f4ff460c4 Fix up the remaining places where the expression node structure would lose 19 years ago
Tom Lane b9527e9840 First phase of plan-invalidation project: create a plan cache management 19 years ago
Tom Lane cc0cac4a49 Fix oversight in original coding of inline_function(): since 19 years ago
Tom Lane c7ff7663e4 Get rid of the separate EState for subplans, and just let them share the 19 years ago