Commit Graph

440 Commits (c1777f2d6d43adf9bc65da3e44a3a5ad2cbfa86d)

Author SHA1 Message Date
Richard Guo c1777f2d6d Fix assertion failure in generate_orderedappend_paths() 2 months ago
Richard Guo 1206df04c2 Rename apply_at to apply_agg_at for clarity 2 months ago
Richard Guo 8e11859102 Implement Eager Aggregation 2 months ago
Robert Haas 8c49a484e8 Assign each subquery a unique name prior to planning it. 3 months ago
David Rowley b91067c899 Remove unused parameter from find_window_run_conditions() 3 months ago
David Rowley 4be9024d57 Remove unused parameter from check_and_push_window_quals 3 months ago
Alexander Korotkov 3d3a81fc24 Fix tuple_fraction calculation in generate_orderedappend_paths() 7 months ago
Peter Eisentraut a8025f5448 Relax ordering-related hardcoded btree requirements in planning 9 months ago
Alexander Korotkov fae535da0a Teach Append to consider tuple_fraction when accumulating subpaths. 10 months ago
Richard Guo fbc0fe9a2e Adjust tuples estimate for appendrels 10 months ago
Dean Rasheed 80feb727c8 Add OLD/NEW support to RETURNING in DML queries. 11 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Richard Guo 247dea89f7 Introduce an RTE for the grouping step 1 year ago
Richard Guo 581df21487 Fix rowcount estimate for gather (merge) paths 1 year ago
Robert Haas e4326fbc60 Remove grotty use of disable_cost for TID scan plans. 1 year ago
Robert Haas 12933dc604 Re-allow planner to use Merge Append to efficiently implement UNION. 2 years ago
Tom Lane 7204f35919 Revert commit 66c0185a3 and follow-on patches. 2 years ago
David Rowley 7d2c7f08d9 Fix query pullup issue with WindowClause runCondition 2 years ago
David Rowley d5d2205c8d Fix assert failure when planning setop subqueries with CTEs 2 years ago
Tom Lane be98a550cc Update comment in set_dummy_rel_pathlist(). 2 years ago
Tom Lane 9d00cf4772 Remove some redundant set_cheapest() calls. 2 years ago
Tom Lane a65724dfa7 Propagate pathkeys from CTEs up to the outer query. 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
David Rowley 902900b308 Adjust reltarget assignment for UPPERREL_PARTIAL_DISTINCT rel 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Peter Eisentraut 611806cd72 Add trailing commas to enum definitions 2 years ago
Tom Lane 14661ba1a7 Replace has_multiple_baserels() with a bitmap test on all_baserels. 2 years ago
David Rowley fc4089f3c6 Fix possible crash in add_paths_to_append_rel() 2 years ago
David Rowley 77db132637 Remove debug_print_rel and replace usages with pprint 2 years ago
David Rowley a8a968a821 Consider cheap startup paths in add_paths_to_append_rel 2 years ago
Bruce Momjian 6d0c39a293 C comment: add optimizer function reference 2 years ago
David Rowley c4a1933b48 Add missing TidRangePath handling in print_path() 2 years ago
David Rowley eef231e816 Fix some typos and some incorrectly duplicated words 3 years ago
David Rowley eb7d043c9b Fix incorrect logic for determining safe WindowAgg run conditions 3 years ago
Tom Lane e3ac85014e Support PlaceHolderVars in MERGE actions. 3 years ago
Tom Lane 767c598954 Work around implementation restriction in adjust_appendrel_attrs. 3 years ago
David Rowley 94cad7a3e6 Optimize generate_orderedappend_paths 3 years ago
Tom Lane b448f1c8d8 Do assorted mop-up in the planner. 3 years ago
Tom Lane 2489d76c49 Make Vars be outer-join-aware. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
David Rowley 4a29eabd1d Remove pessimistic cost penalization from Incremental Sort 3 years ago
David Rowley a858327221 Fix 32-bit build dangling pointer issue in WindowAgg 3 years ago
Tom Lane fe12f2f8fa Fix generate_partitionwise_join_paths() to tolerate failure. 3 years ago
Tom Lane 8bf66dedd8 Fix confusion about havingQual vs hasHavingQual in planner. 3 years ago
David Rowley 53823a06be Fix failure to set correct operator in window run condition 3 years ago
Tom Lane d8e34fa7a1 Fix incorrect is-this-the-topmost-join tests in parallel planning. 3 years ago
Thomas Munro 4f1f5a7f85 Remove fls(), use pg_leftmost_one_pos32() instead. 3 years ago
Tom Lane e2f6c307c0 Estimate cost of elided SubqueryScan, Append, MergeAppend nodes better. 3 years ago
David Rowley c23e3e6beb Use list_copy_head() instead of list_truncate(list_copy(...), ...) 3 years ago
David Rowley 3e9abd2eb1 Teach remove_unused_subquery_outputs about window run conditions 4 years ago