Commit Graph

179 Commits (8a300fc3afce4a0fe8a4c55bc22b2aeec092cf23)

Author SHA1 Message Date
Tom Lane 3af87736bf Fix another cause of "wrong varnullingrels" planner failures. 3 years ago
Tom Lane efeb12ef0b Don't include outer join relids in lateral_relids bitmapsets. 3 years ago
Tom Lane 0655c03ef9 Centralize fixups for mismatched nullingrels in nestloop params. 3 years ago
David Rowley 7fcd7ef2a9 Don't use partial unique indexes for unique proofs in the planner 3 years ago
Tom Lane f4c00d138f When removing a left join, clean out references in EquivalenceClasses. 3 years ago
Tom Lane 63e4f13d2a Fix "wrong varnullingrels" for Memoize's lateral references, too. 3 years ago
Tom Lane bfd332b3fd Fix "wrong varnullingrels" for subquery nestloop parameters. 3 years ago
Tom Lane 9a2dbc614e Fix oversight in outer join removal. 3 years ago
Tom Lane 7a844c77ec Fix joinclause removal logic to cope with cloned clauses. 3 years ago
Tom Lane 991a3df227 Fix filtering of "cloned" outer-join quals some more. 3 years ago
Tom Lane b9c755a2f6 In clause_is_computable_at(), test required_relids for clone clauses. 3 years ago
Tom Lane d0f952691f Fix thinko in join removal. 3 years ago
Tom Lane 9df8f903eb Fix some issues with improper placement of outer join clauses. 3 years ago
Tom Lane c8b881d21f Undo faulty attempt at not relying on RINFO_IS_PUSHED_DOWN. 3 years ago
Tom Lane 767c598954 Work around implementation restriction in adjust_appendrel_attrs. 3 years ago
Tom Lane 739f1d6218 Fix mis-handling of outer join quals generated by EquivalenceClasses. 3 years ago
Tom Lane a75ff55c83 Fix some issues with wrong placement of pseudo-constant quals. 3 years ago
Tom Lane c7468c73f7 Fix buggy recursion in flatten_rtes_walker(). 3 years ago
Tom Lane f50f029c49 Fix thinkos in have_unsafe_outer_join_ref; reduce to Assert check. 3 years ago
Tom Lane 44e56baa80 Fix join removal logic to clean up sub-RestrictInfos of OR clauses. 3 years ago
Tom Lane acc5821e4d Further fixes in qual nullingrel adjustment for outer join commutation. 3 years ago
Tom Lane 798c017634 remove_rel_from_query() must clean up PlaceHolderVar.phrels fields. 3 years ago
Tom Lane fee7b77b90 Rethink nullingrel marking rules in build_joinrel_tlist(). 3 years ago
Tom Lane 2cbbffff05 Remove leftover code in deconstruct_distribute_oj_quals(). 3 years ago
Tom Lane cad5692051 Fix up join removal's interaction with PlaceHolderVars. 3 years ago
Tom Lane b2d0e13a0a Fix over-optimistic updating of info about commutable outer joins. 3 years ago
Tom Lane 9f452feeeb Fix thinko in qual distribution. 3 years ago
Tom Lane 8538519db1 Fix thinko in outer-join removal. 3 years ago
Tom Lane 5840c20272 Rethink treatment of "postponed" quals in deconstruct_jointree(). 3 years ago
Tom Lane eae0e20def Remove over-optimistic Assert. 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
David Rowley 3c569049b7 Allow left join removals and unique joins on partitioned tables 3 years ago
Tom Lane 7122f9d543 Fix bit-rotted planner test case. 3 years ago
Tom Lane 51dfaa0b01 Remove bogus Assert and dead code in remove_useless_results_recurse(). 3 years ago
Tom Lane 56d0ed3b75 Give better hints for ambiguous or unreferenceable columns. 3 years ago
Tom Lane ff8fa0bf7e Handle SubPlan cases in find_nonnullable_rels/vars. 3 years ago
Tom Lane 0043aa6b85 Add basic regression tests for semi/antijoin recognition. 3 years ago
David Rowley b592422095 Relax overly strict rules in select_outer_pathkeys_for_merge() 4 years ago
Dean Rasheed 8d367a44d3 Fix alias matching in transformLockingClause(). 4 years ago
Alvaro Herrera 0fbf011200
Check column list length in XMLTABLE/JSON_TABLE alias 4 years ago
Tom Lane cc50080a82 Rearrange core regression tests to reduce cross-script dependencies. 4 years ago
Tom Lane a21049fd3f Fix pull_varnos to cope with translated PlaceHolderVars. 4 years ago
David Rowley 83f4fcc655 Change the name of the Result Cache node to Memoize 5 years ago
Tom Lane d23ac62afa Avoid creating a RESULT RTE that's marked LATERAL. 5 years ago
David Rowley 9eacee2e62 Add Result Cache executor node (take 2) 5 years ago
David Rowley 28b3e3905c Revert b6002a796 5 years ago
David Rowley b6002a796d Add Result Cache executor node 5 years ago
Peter Eisentraut 055fee7eb4 Allow an alias to be attached to a JOIN ... USING 5 years ago
Tom Lane 55dc86eca7 Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar. 5 years ago