Commit Graph

135 Commits (1d98fdaed89c00465ef68fa2804967ea27b03abc)

Author SHA1 Message Date
Tom Lane 1d98fdaed8 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
Tom Lane 9c7f5229ad Optimize joins when the inner relation can be proven unique. 9 years ago
Andres Freund 7c5d8c16e1 Add explicit ORDER BY to a few tests that exercise hash-join code. 9 years ago
Heikki Linnakangas 181bdb90ba Fix typos in comments. 9 years ago
Tom Lane 207d5a656e Fix mishandling of equivalence-class tests in parameterized plans. 10 years ago
Tom Lane 80f66a9ad0 Fix planner failure with full join in RHS of left join. 10 years ago
Tom Lane d4c3a156cb Remove GROUP BY columns that are functionally dependent on other columns. 10 years ago
Tom Lane f867ce5518 ExecHashRemoveNextSkewBucket must physically copy tuples to main hashtable. 10 years ago
Tom Lane acfcd45cac Still more fixes for planner's handling of LATERAL references. 10 years ago
Tom Lane 7e19db0c09 Fix another oversight in checking if a join with LATERAL refs is legal. 10 years ago
Tom Lane 6a0779a397 Improve regression test case to avoid depending on system catalog stats. 11 years ago
Tom Lane cfe30a72fa Undo mistaken tightening in join_is_legal(). 11 years ago
Tom Lane 68fa28f771 Postpone extParam/allParam calculations until the very end of planning. 11 years ago
Tom Lane 4200a92862 Further mucking with PlaceHolderVar-related restrictions on join order. 11 years ago
Tom Lane 89db83922a Further adjustments to PlaceHolderVar removal. 11 years ago