Commit Graph

149 Commits (3db72ebcbe20debc6552500ee9ccb4b2007f12f8)

Author SHA1 Message Date
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
Peter Eisentraut c06d6aa4c3 Clean up ancient test style 5 years ago
Tom Lane e98c900993 Fix missed step in removal of useless RESULT RTEs in the planner. 5 years ago
Tom Lane b1738ff6ab Fix miscomputation of direct_lateral_relids for join relations. 5 years ago
Peter Eisentraut 01e658fa74 Hash support for row types 5 years ago
Tom Lane ad1c36b070 Fix foreign-key selectivity estimation in the presence of constants. 5 years ago
Peter Geoghegan d9c501da70 Add nbtree ScalarArrayOpExpr tests. 6 years ago
Tom Lane 6ea364e7e7 Prevent overly-aggressive collapsing of joins to RTE_RESULT relations. 6 years ago
Tom Lane a9ae99d019 Prevent bogus pullup of constant-valued functions returning composite. 6 years ago
Tom Lane 7266d0997d Allow functions-in-FROM to be pulled up if they reduce to constants. 7 years ago
Tom Lane 385d396b80 Split up a couple of long-running regression test scripts. 7 years ago
Tom Lane 0a9d7e1f6d Ensure dummy paths have correct required_outer if rel is parameterized. 7 years ago
Tom Lane 24d08f3c0a Fix mark-and-restore-skipping test case to not be a self-join. 7 years ago
Tom Lane 4be058fe9e In the planner, replace an empty FROM clause with a dummy RTE. 7 years ago
Tom Lane 7d4a10e260 Use PlaceHolderVars within the quals of a FULL JOIN. 7 years ago
Tom Lane a11b3bd37f Fix misprocessing of equivalence classes involving record_eq(). 8 years ago
Tom Lane e5d83995e9 Fix incorrect handling of join clauses pushed into parameterized paths. 8 years ago
Tom Lane 2cf8c7aa48 Clean up duplicate table and function names in regression tests. 8 years ago
Tom Lane 9afd513df0 Fix planner failures with overlapping mergejoin clauses in an outer join. 8 years ago
Tom Lane bb94ce4d26 Teach reparameterize_path() to handle AppendPaths. 8 years ago
Tom Lane 934c7986f4 Tweak parallel hash join test case in hopes of improving stability. 8 years ago
Andres Freund 1804284042 Add parallel-aware hash joins. 8 years ago
Robert Haas 7d3583ad9a Test instrumentation of Hash nodes with parallel query. 8 years ago
Andres Freund 5bcf389ecf Fix EXPLAIN ANALYZE of hash join when the leader doesn't participate. 8 years ago
Tom Lane 7ca25b7de6 Fix neqjoinsel's behavior for semi/anti join cases. 8 years ago
Andres Freund fa330f9adf Add some regression tests that exercise hash join code. 8 years ago
Robert Haas 57eebca03a Fix create_lateral_join_info to handle dead relations properly. 8 years ago
Robert Haas 0a480502b0 Expand partitioned table RTEs level by level, without flattening. 8 years ago
Tom Lane d8e6b84bd2 Avoid regressions in foreign-key-based selectivity estimates. 9 years ago
Tom Lane 92a43e4857 Reduce semijoins with unique inner relations to plain inner joins. 9 years ago
Tom Lane 2057a58d16 Fix mis-optimization of semijoins with more than one LHS relation. 9 years ago