Commit Graph

2290 Commits (73c381cee71e7dd8a78a394731958b0bbb4d8991)

Author SHA1 Message Date
Heikki Linnakangas 178f2d560d Include result relation info in direct modify ForeignScan nodes. 6 years ago
Heikki Linnakangas 1375422c78 Create ResultRelInfos later in InitPlan, index them by RT index. 6 years ago
Thomas Munro f0f13a3a08 Fix estimates for ModifyTable paths without RETURNING. 6 years ago
Tom Lane d7885b1f87 Build EC members for child join rels in the right memory context. 6 years ago
Tom Lane 53c6daff43 Fix two latent(?) bugs in equivclass.c. 6 years ago
Tom Lane 56fe008996 Add for_each_from, to simplify loops starting from non-first list cells. 6 years ago
Tom Lane 41efb83408 Move resolution of AlternativeSubPlan choices to the planner. 6 years ago
David Rowley 62e221e1c0 Allow incremental sorts for windowing functions 6 years ago
Jeff Davis a547e68675 Adjust cost model for HashAgg that spills to disk. 6 years ago
Tom Lane 38a2d70329 Remove some more useless assignments. 6 years ago
Tom Lane 3d351d916b Redefine pg_class.reltuples to be -1 before the first VACUUM or ANALYZE. 6 years ago
David Rowley c34605daed Fixup some misusages of bms_num_members() 6 years ago
Tom Lane 4d346def15 Avoid pushing quals down into sub-queries that have grouping sets. 6 years ago
Tom Lane 2072932407 Suppress unnecessary RelabelType nodes in yet more cases. 6 years ago
Tom Lane 1e7629d2c9 Be more careful about the shape of hashable subplan clauses. 6 years ago
Peter Geoghegan d6c08e29e7 Add hash_mem_multiplier GUC. 6 years ago
Peter Geoghegan b1d79127ed Correct obsolete UNION hash aggs comment. 6 years ago
Peter Geoghegan bcbf9446a2 Remove hashagg_avoid_disk_plan GUC. 6 years ago
Thomas Munro cdc7169509 Use MinimalTuple for tuple queues. 6 years ago
Tom Lane 689696c711 Fix bitmap AND/OR scans on the inside of a nestloop partition-wise join. 6 years ago
Tom Lane a742ecf9c6 Cope with lateral references in the quals of a subquery RTE. 6 years ago
Jeff Davis 0babd10980 Revert "Use CP_SMALL_TLIST for hash aggregate" 6 years ago
Andres Freund a9a4a7ad56 code: replace most remaining uses of 'master'. 6 years ago
Andres Freund e07633646a code: replace 'master' with 'leader' where appropriate. 6 years ago
Peter Eisentraut e61225ffab Rename enable_incrementalsort for clarity 6 years ago
Tom Lane ca5e93f769 Clamp total-tuples estimates for foreign tables to ensure planner sanity. 6 years ago
Jeff Davis 92c58fd948 Rework HashAgg GUCs. 6 years ago
Peter Eisentraut 350f47786c Spelling adjustments 6 years ago
Tom Lane b5d69b7c22 pgindent run prior to branching v13. 6 years ago
Tomas Vondra 4cad2534da Use CP_SMALL_TLIST for hash aggregate 6 years ago
Etsuro Fujita bb2ae6fa47 Adjust indentation in src/backend/optimizer/README. 6 years ago
Magnus Hagander a01debe3db Fix typos in README 6 years ago
Tom Lane fa27dd40d5 Run pgindent with new pg_bsd_indent version 2.1.1. 6 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 6 years ago
Alvaro Herrera 17cc133f01
Dial back -Wimplicit-fallthrough to level 3 6 years ago
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 6 years ago
Etsuro Fujita 2793bbe75e Remove unnecessary #include. 6 years ago
Tomas Vondra 60fbb4d762 Simplify cost_incremental_sort a bit 6 years ago
Tom Lane 0da06d9faf Get rid of trailing semicolons in C macro definitions. 6 years ago
Tomas Vondra de0dc1a847 Fix cost_incremental_sort for expressions with varno 0 6 years ago
David Rowley 5b736e9cf9 Remove unneeded constraint dependency tracking 6 years ago
Tom Lane 981643dcdb Allow partitionwise join to handle nested FULL JOIN USING cases. 6 years ago
Etsuro Fujita c8434d64ce Allow partitionwise joins in more cases. 6 years ago
Alvaro Herrera 357889eb17
Support FETCH FIRST WITH TIES 6 years ago
Tomas Vondra ba3e76cc57 Consider Incremental Sort paths at additional places 6 years ago
Tomas Vondra d2d8a229bc Implement Incremental Sort 6 years ago
Tom Lane 0568e7a2a4 Cosmetic improvements for code related to partitionwise join. 6 years ago
Alexander Korotkov 911e702077 Implement operator class parameters 6 years ago
Fujii Masao 6aba63ef3e Allow the planner-related functions and hook to accept the query string. 6 years ago
Jeff Davis 7351bfeda3 Fix costing for disk-based hash aggregation. 6 years ago