summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/prep/prepjointree.c
AgeCommit message (Expand)Author
20 hoursReduce "Var IS [NOT] NULL" quals during constant foldingRichard Guo
20 hoursCentralize collection of catalog info needed early in the plannerRichard Guo
20 hoursExpand virtual generated columns before sublink pull-upRichard Guo
2025-04-04Convert 'x IN (VALUES ...)' to 'x = ANY ...' then appropriateAlexander Korotkov
2025-03-13Fix incorrect handling of subquery pullupRichard Guo
2025-03-13Remove code setting wrap_non_vars to true for UNION ALL subqueriesRichard Guo
2025-03-12Build whole-row Vars the same way during parsing and planning.Tom Lane
2025-02-25Eliminate code duplication in replace_rte_variables callbacksRichard Guo
2025-02-25Expand virtual generated columns in the plannerRichard Guo
2025-01-16Add OLD/NEW support to RETURNING in DML queries.Dean Rasheed
2025-01-01Update copyright for 2025Bruce Momjian
2024-12-17Avoid unnecessary wrapping for more complex expressionsRichard Guo
2024-12-09Avoid unnecessary wrapping for Vars and PHVsRichard Guo
2024-11-30Avoid mislabeling of lateral references, redux.Tom Lane
2024-11-28Avoid mislabeling of lateral references when pulling up a subquery.Tom Lane
2024-11-28Remove useless casts to (void *)Peter Eisentraut
2024-10-31Remove duplicate words in commentsDaniel Gustafsson
2024-10-03Fix wrong varnullingrels error for MERGE WHEN NOT MATCHED BY SOURCE.Dean Rasheed
2024-10-03Fix incorrect non-strict join recheck in MERGE WHEN NOT MATCHED BY SOURCE.Dean Rasheed
2024-09-10Introduce an RTE for the grouping stepRichard Guo
2024-08-30Avoid inserting PlaceHolderVars in cases where pre-v16 PG did not.Tom Lane
2024-07-05Support "Right Semi Join" plan shapesRichard Guo
2024-05-05Fix query pullup issue with WindowClause runConditionDavid Rowley
2024-04-19Use macro NUM_MERGE_MATCH_KINDS instead of '3' in MERGE code.Dean Rasheed
2024-04-15Fix type-checking of RECORD-returning functions in FROM, redux.Tom Lane
2024-03-30Add support for MERGE ... WHEN NOT MATCHED BY SOURCE.Dean Rasheed
2024-02-29Support MERGE into updatable views.Dean Rasheed
2024-01-11Allow subquery pullup to wrap a PlaceHolderVar in another one.Tom Lane
2024-01-04Update copyright for 2024Bruce Momjian
2023-06-20Fix another cause of "wrong varnullingrels" planner failures.Tom Lane
2023-04-05Support "Right Anti Join" plan shapes.Tom Lane
2023-01-30Invent "join domains" to replace the below_outer_join hack.Tom Lane
2023-01-30Do assorted mop-up in the planner.Tom Lane
2023-01-30Make Vars be outer-join-aware.Tom Lane
2023-01-18Remove redundant grouping and DISTINCT columns.Tom Lane
2023-01-02Update copyright for 2023Bruce Momjian
2022-12-22Avoid O(N^2) cost when pulling up lots of UNION ALL subqueries.Tom Lane
2022-12-22Add some recursion and looping defenses in prepjointree.c.Tom Lane
2022-12-10Add subquery pullup handling for WindowClause runConditionDavid Rowley
2022-12-06Rework query relation permission checkingAlvaro Herrera
2022-11-29Remove bogus Assert and dead code in remove_useless_results_recurse().Tom Lane
2022-11-16Invent "multibitmapsets", and use them to speed up antijoin detection.Tom Lane
2022-11-05Don't pass down nonnullable_vars while reducing outer joins.Tom Lane
2022-08-17Use an explicit state flag to control PlaceHolderInfo creation.Tom Lane
2022-03-28Add support for MERGE SQL commandAlvaro Herrera
2022-03-17Don't bother to attach column name lists to RowExprs of named types.Tom Lane
2022-01-08Update copyright for 2022Bruce Momjian
2021-09-15Remove arbitrary 64K-or-so limit on rangetable size.Tom Lane
2021-07-09Avoid creating a RESULT RTE that's marked LATERAL.Tom Lane
2021-07-06Reduce the cost of planning deeply-nested views.Tom Lane