Commit Graph

37 Commits (4497f2f3b30fa5cd48898033c351bfcf01ce73e2)

Author SHA1 Message Date
Tom Lane 6f44fe7f12 Allow rel_is_distinct_for() to look through RelabelType below OpExpr. 8 years ago
Tom Lane 92a43e4857 Reduce semijoins with unique inner relations to plain inner joins. 8 years ago
Tom Lane 8f0530f580 Improve castNode notation by introducing list-extraction-specific variants. 9 years ago
Tom Lane 9c7f5229ad Optimize joins when the inner relation can be proven unique. 9 years ago
Peter Eisentraut 38d103763d Make more use of castNode() 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Tom Lane a4c35ea1c2 Improve parser's and planner's handling of set-returning functions. 9 years ago
Tom Lane 100340e2dc Restore foreign-key-aware estimation of join relation sizes. 9 years ago
Tom Lane f338dd7585 Refactor join_is_removable() to separate out distinctness-proving logic. 10 years ago
Tom Lane 364a9f47ab Refactor pull_var_clause's API to make it less tedious to extend. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Tom Lane 4fcf48450d Get rid of the planner's LateralJoinInfo data structure. 10 years ago
Tom Lane 89db83922a Further adjustments to PlaceHolderVar removal. 10 years ago
Tom Lane bab163e121 Fix old oversight in join removal logic. 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 10 years ago
Andres Freund f3d3118532 Support GROUPING SETS, CUBE and ROLLUP. 10 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Tom Lane d25367ec4f Add bms_get_singleton_member(), and use it where appropriate. 11 years ago
Tom Lane f15821eefd Allow join removal in some cases involving a left join to a subquery. 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Tom Lane 9e7e29c75a Fix planner problems with LATERAL references in PlaceHolderVars. 12 years ago
Tom Lane 1b1d3d92c3 Remove ph_may_need from PlaceHolderInfo, with attendant simplifications. 12 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 12 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Tom Lane 9ff79b9d4e Fix up planner infrastructure to support LATERAL properly. 13 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Tom Lane 3e4b3465b6 Improve planner's ability to recognize cases where an IN's RHS is unique. 14 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Tom Lane eb22950510 Fix PlaceHolderVar mechanism's interaction with outer joins. 15 years ago
Tom Lane c8c03d72e1 Fix another join removal bug: the check on PlaceHolderVars was wrong. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Tom Lane 4e97631e6a Fix join-removal logic for pseudoconstant and outerjoin-delayed quals. 15 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 15 years ago
Tom Lane 7df4cf7fd3 Fix oversight in join removal patch: we have to delete the removed relation 16 years ago
Tom Lane b78f6264eb Rework join-removal logic as per recent discussion. In particular this 16 years ago