Commit Graph

212 Commits (8c49a484e8ebb0199fba4bd68eaaedaf49b48ed0)

Author SHA1 Message Date
Tom Lane 64919aaab4 Reduce the cost of planning deeply-nested views. 5 years ago
Tom Lane 86dc90056d Rework planning and execution of UPDATE and DELETE. 5 years ago
Tom Lane 55dc86eca7 Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane e98c900993 Fix missed step in removal of useless RESULT RTEs in the planner. 5 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Tom Lane 6ea364e7e7 Prevent overly-aggressive collapsing of joins to RTE_RESULT relations. 6 years ago
Tom Lane ce76c0ba53 Add a reverse-translation column number array to struct AppendRelInfo. 6 years ago
Tom Lane a9ae99d019 Prevent bogus pullup of constant-valued functions returning composite. 6 years ago
Tom Lane 5ee190f8ec Rationalize use of list_concat + list_copy combinations. 6 years ago
Tom Lane 7266d0997d Allow functions-in-FROM to be pulled up if they reduce to constants. 6 years ago
David Rowley 3373c71553 Speed up finding EquivalenceClasses for a given set of rels 7 years ago
Tom Lane 1cff1b95ab Represent Lists as expansible arrays, not chains of cons-cells. 7 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Tom Lane 24114e8b4d Remove unnecessary "inline" marker introduced in commit 4be058fe9. 7 years ago
Tom Lane f09346a9c6 Refactor planner's header files. 7 years ago
Tom Lane a1b8c41e99 Make some small planner API cleanups. 7 years ago
Tom Lane 4be058fe9e In the planner, replace an empty FROM clause with a dummy RTE. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Tom Lane 7d4a10e260 Use PlaceHolderVars within the quals of a FULL JOIN. 7 years ago
Tom Lane db1071d4ee Fix some minor issues exposed by outfuncs/readfuncs testing. 7 years ago
Alvaro Herrera 055fb8d33d Add GUC enable_partition_pruning 8 years ago
Tom Lane 90947674fc Fix incorrect handling of subquery pullup in the presence of grouping sets. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 9 years ago
Kevin Grittner 18ce3a4ab2 Add infrastructure to support EphemeralNamedRelation references. 9 years ago
Peter Eisentraut 4cb824699e Cast result of copyObject() to correct type 9 years ago
Alvaro Herrera fcec6caafa Support XMLTABLE query expression 9 years ago
Peter Eisentraut 38d103763d Make more use of castNode() 9 years ago
Tom Lane 215b43cdc8 Improve RLS planning by marking individual quals with security levels. 9 years ago
Tom Lane ab1f0c8225 Change representation of statement lists, and add statement location info. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Tom Lane 24aef33804 Cleanup of rewriter and planner handling of Query.hasRowSecurity flag. 9 years ago
Tom Lane a4c35ea1c2 Improve parser's and planner's handling of set-returning functions. 9 years ago
Tom Lane 26e66184d6 Fix assorted missing infrastructure for ON CONFLICT. 10 years ago
Tom Lane 5864d6a4b6 Provide a planner hook at a suitable place for creating upper-rel Paths. 10 years ago
Tom Lane 364a9f47ab Refactor pull_var_clause's API to make it less tedious to extend. 10 years ago
Tom Lane 3fc6e2d7f5 Make the upper part of the planner work by generating and comparing Paths. 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 68fa28f771 Postpone extParam/allParam calculations until the very end of planning. 11 years ago
Tom Lane fca8e59c1c Fix oversight in flattening of subqueries with empty FROM. 11 years ago
Tom Lane dd7a8f66ed Redesign tablesample method API, and do extensive code review. 11 years ago
Andres Freund f3d3118532 Support GROUPING SETS, CUBE and ROLLUP. 11 years ago
Andres Freund 168d5805e4 Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 11 years ago
Tom Lane f4abd0241d Support flattening of empty-FROM subqueries and one-row VALUES tables. 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago