Commit Graph

89 Commits (01ba7894f3f72ea57d1cfdc4f40f6231bc6cd9cd)

Author SHA1 Message Date
Tom Lane 657cdb3a21 Improve regression test case to avoid depending on system catalog stats. 11 years ago
Tom Lane ec94bc1473 Undo mistaken tightening in join_is_legal(). 11 years ago
Tom Lane fda25b2201 Further mucking with PlaceHolderVar-related restrictions on join order. 11 years ago
Tom Lane 085338822a Further adjustments to PlaceHolderVar removal. 11 years ago
Tom Lane de0227d8ae Fix old oversight in join removal logic. 11 years ago
Tom Lane df3b0f47b9 Further fixes for degenerate outer join clauses. 11 years ago
Tom Lane a6f43986bf Fix a PlaceHolderVar-related oversight in star-schema planning patch. 11 years ago
Tom Lane 7968238eb1 Fix some planner issues with degenerate outer join clauses. 11 years ago
Tom Lane edf26ed033 Fix an oversight in checking whether a join with LATERAL refs is legal. 11 years ago
Tom Lane f7cdc518e6 Remove an unsafe Assert, and explain join_clause_is_movable_into() better. 11 years ago
Tom Lane 8fb61e0b54 Fix oversight in flattening of subqueries with empty FROM. 11 years ago
Tom Lane 7481c6c2aa Make entirely-dummy appendrels get marked as such in set_append_rel_size. 11 years ago
Tom Lane 3cf8686014 Prevent improper reordering of antijoins vs. outer joins. 11 years ago
Tom Lane ca6805338f Fix incorrect matching of subexpressions in outer-join plan nodes. 11 years ago
Tom Lane f4abd0241d Support flattening of empty-FROM subqueries and one-row VALUES tables. 11 years ago
Tom Lane b746d0c32d Fix old bug in get_loop_count(). 11 years ago
Robert Haas e529cd4ffa Suggest to the user the column they may have meant to reference. 11 years ago
Tom Lane b514a7460d Fix planning of star-schema-style queries. 11 years ago
Tom Lane 1b4cc493d2 Preserve AND/OR flatness while extracting restriction OR clauses. 12 years ago
Tom Lane f15821eefd Allow join removal in some cases involving a left join to a subquery. 12 years ago
Tom Lane ab76208e3d Forward-port regression test for bug #10587 into 9.3 and HEAD. 12 years ago
Tom Lane a16d421ca4 Revert "Auto-tune effective_cache size to be 4x shared buffers" 12 years ago
Tom Lane 043f6ff05d Fix bogus handling of "postponed" lateral quals. 12 years ago
Tom Lane 158b7fa6a3 Disallow LATERAL references to the target table of an UPDATE/DELETE. 12 years ago
Tom Lane 0c051c9008 Fix LATERAL references to target table of UPDATE/DELETE. 12 years ago
Tom Lane f343a880d5 Extract restriction OR clauses whether or not they are indexable. 12 years ago
Tom Lane b5e0a2a384 Tweak placement of explicit ANALYZE commands in the regression tests. 12 years ago
Tom Lane f19e92ed04 Flatten join alias Vars before pulling up targetlist items from a subquery. 12 years ago
Tom Lane f3b3b8d5be Compute correct em_nullable_relids in get_eclass_for_sort_expr(). 12 years ago
Tom Lane 648bd05b13 Re-allow duplicate aliases within aliased JOINs. 12 years ago
Bruce Momjian ee1e5662d8 Auto-tune effective_cache size to be 4x shared buffers 12 years ago
Tom Lane c64de21e96 Fix qual-clause-misplacement issues with pulled-up LATERAL subqueries. 13 years ago
Tom Lane 9e7e29c75a Fix planner problems with LATERAL references in PlaceHolderVars. 13 years ago
Tom Lane 1b1d3d92c3 Remove ph_may_need from PlaceHolderInfo, with attendant simplifications. 13 years ago
Tom Lane db9f0e1d9a Postpone creation of pathkeys lists to fix bug #8049. 13 years ago
Tom Lane 2378d79ab2 Make LATERAL implicit for functions in FROM. 13 years ago
Tom Lane 72a4231f0c Fix planning of non-strict equivalence clauses above outer joins. 13 years ago
Tom Lane 3b8968f252 Rethink heuristics for choosing index quals for parameterized paths. 14 years ago
Tom Lane 6d2c8c0e2a Drop cheap-startup-cost paths during add_path() if we don't need them. 14 years ago
Tom Lane 4da6439bd8 Fix mark_placeholder_maybe_needed to handle LATERAL references. 14 years ago
Tom Lane da3df99870 Fix LATERAL references to join alias variables. 14 years ago
Tom Lane 9ff79b9d4e Fix up planner infrastructure to support LATERAL properly. 14 years ago
Tom Lane 084a29c94f Another round of planner fixes for LATERAL. 14 years ago
Tom Lane c1774d2c81 More fixes for planner's handling of LATERAL. 14 years ago
Tom Lane e76af54137 Fix some issues with LATERAL(SELECT UNION ALL SELECT). 14 years ago
Tom Lane 5ebaaa4944 Implement SQL-standard LATERAL subqueries. 14 years ago
Tom Lane 5b7b5518d0 Revise parameterized-path mechanism to fix assorted issues. 14 years ago
Tom Lane e3ffd05b02 Weaken the planner's tests for relevant joinclauses. 14 years ago
Tom Lane 8279eb4191 Fix planner's handling of outer PlaceHolderVars within subqueries. 14 years ago
Tom Lane 7e3bf99baa Fix handling of PlaceHolderVars in nestloop parameter management. 14 years ago