Commit Graph

1394 Commits (bf826ea062979da02395fb2e8961feeef47604da)

Author SHA1 Message Date
Tom Lane bf826ea062 Fix setrefs.c's failure to do expression processing on prune steps. 12 months ago
Dean Rasheed 80feb727c8 Add OLD/NEW support to RETURNING in DML queries. 12 months ago
David Rowley 2310064510 Fix UNION planner datatype issue 1 year ago
Bruce Momjian 50e6eb731d Update copyright for 2025 1 year ago
Tom Lane 8d96f57d5c Improve planner's handling of SetOp plans. 1 year ago
Tom Lane 2762792952 Convert SetOp to read its inputs as outerPlan and innerPlan. 1 year ago
Tomas Vondra 8cd44db42a Update comments about index parallel builds 1 year ago
David Rowley bd10ec5297 Detect redundant GROUP BY columns using UNIQUE indexes 1 year ago
David Rowley 430a5952de Defer remove_useless_groupby_columns() work until query_planner() 1 year ago
Peter Eisentraut 7f798aca1d Remove useless casts to (void *) 1 year ago
Richard Guo a8ccf4e93a Reordering DISTINCT keys to match input path's pathkeys 1 year ago
Tom Lane b8df690492 Improve fix for not entering parallel mode when holding interrupts. 1 year ago
Amit Langote 90fe6251c8 Disallow partitionwise grouping when collations don't match 1 year ago
Richard Guo f00ab1fd15 Fix inconsistent RestrictInfo serial numbers 1 year ago
Richard Guo ffe12d1d22 Remove the RTE_GROUP RTE if we drop the groupClause 1 year ago
David Rowley 2453196107 Move clause_sides_match_join() into restrictinfo.h 1 year ago
Peter Eisentraut c594f1ad2b Track scan reversals in MergeJoin 1 year ago
Peter Eisentraut 0d2aa4d493 Track sort direction in SortGroupClause 1 year ago
David Rowley 161320b4b9 Adjust EXPLAIN's output for disabled nodes 1 year ago
Richard Guo 67a54b9e83 Allow pushdown of HAVING clauses with grouping sets 1 year ago
Richard Guo 828e94c9d2 Consider explicit incremental sort for mergejoins 1 year ago
Tom Lane a3179ab692 Recalculate where-needed data accurately after a join removal. 1 year ago
Noah Misch ac04aa84a7 Don't enter parallel mode when holding interrupts. 1 year ago
Richard Guo f5050f795a Mark expressions nullable by grouping sets 1 year ago
Richard Guo 247dea89f7 Introduce an RTE for the grouping step 1 year ago
Richard Guo 87b6c3c0b7 Fix order of parameters in a cost_sort call 1 year ago
Richard Guo 9626068f13 Avoid unnecessary post-sort projection 1 year ago
Robert Haas c01743aa48 Show number of disabled nodes in EXPLAIN ANALYZE output. 1 year ago
Robert Haas e222534679 Treat number of disabled nodes in a path as a separate cost metric. 1 year ago
Tom Lane b919a97a6c Fix "failed to find plan for subquery/CTE" errors in EXPLAIN. 1 year ago
Masahiko Sawada 66e94448ab Restrict accesses to non-system views and foreign tables during pg_dump. 1 year ago
Richard Guo 8b2e9fd26a Remove redundant code in create_gather_merge_path 1 year ago
Richard Guo 581df21487 Fix rowcount estimate for gather (merge) paths 1 year ago
Richard Guo 3cb19f45a3 Fix comment about cross-checking the varnullingrels 2 years ago
Alexander Korotkov 505c008ca3 Restore preprocess_groupclause() 2 years ago
Alexander Korotkov 0c1af2c35c Rename PathKeyInfo to GroupByOrdering 2 years ago
Alexander Korotkov 199012a3d8 Fix asymmetry in setting EquivalenceClass.ec_sortref 2 years ago
David Rowley 7b71e5bbcc Fix some grammatical errors in some comments 2 years 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
Tom Lane c7be3c015b Make left-join removal safe under -DREALLOCATE_BITMAPSETS. 2 years ago
Alexander Korotkov d1d286d83c Revert: Remove useless self-joins 2 years ago
David Rowley 7d2c7f08d9 Fix query pullup issue with WindowClause runCondition 2 years ago
David Rowley b9ecefecc7 Fix recently introduced typo in code comment 2 years ago
David Rowley 3af7040985 Fix IS [NOT] NULL qual optimization for inheritance tables 2 years ago
David Rowley 7487044d6c Don't adjust ressortgroupref in generate_setop_child_grouplist() 2 years ago
David Rowley 3b1a7eb289 Don't zero tuple_fraction when planning UNIONs with ORDER BYs 2 years ago
David Rowley d5d2205c8d Fix assert failure when planning setop subqueries with CTEs 2 years ago
Dean Rasheed 0294df2f1f Add support for MERGE ... WHEN NOT MATCHED BY SOURCE. 2 years ago
Tom Lane a65724dfa7 Propagate pathkeys from CTEs up to the outer query. 2 years ago