Commit Graph

325 Commits (344ac149cfdfc1efe1608f46f40f05f4af91c8eb)

Author SHA1 Message Date
Tom Lane a02740e53f Avoid reference to nonexistent array element in ExecInitAgg(). 3 years ago
Tom Lane ad87bf3552 Avoid some other O(N^2) hazards in list manipulation. 4 years ago
Tom Lane b154ee63bb Get rid of artificial restriction on hash table sizes on Windows. 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Michael Paquier bcf2667bf6 Fix some typos, grammar and style in docs and comments 5 years ago
Tom Lane 0ff865fbe5 Fix bug in HashAgg's selective-column-spilling logic. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Jeff Davis 05c0258966 Fix bug #16784 in Disk-based Hash Aggregation. 5 years ago
Heikki Linnakangas 0a2bc5d61e Move per-agg and per-trans duplicate finding to the planner. 5 years ago
Heikki Linnakangas 2cccb627f1 Skip allocating hash table in EXPLAIN-only mode. 5 years ago
Tom Lane f21636e5d5 Remove useless entries for aggregate functions from fmgrtab.c. 5 years ago
Jeff Davis c8aeaf3ab3 Change LogicalTapeSetBlocks() to use nBlocksWritten. 5 years ago
Jeff Davis 3bd35d4f51 HashAgg: release write buffers sooner by rewinding tape. 5 years ago
Jeff Davis 0758964963 logtape.c: do not preallocate for tapes when sorting 5 years ago
Peter Geoghegan d6c08e29e7 Add hash_mem_multiplier GUC. 5 years ago
Jeff Davis 9878b643f3 HashAgg: use better cardinality estimate for recursive spilling. 5 years ago
Peter Geoghegan c49c74d192 Rename another "hash_mem" local variable. 5 years ago
David Rowley 0e3e1c4e1c Make EXPLAIN ANALYZE of HashAgg more similar to Hash Join 5 years ago
Jeff Davis 200f6100a9 Fix LookupTupleHashEntryHash() pipeline-stall issue. 6 years ago
Peter Geoghegan 564ce62164 Rename "hash_mem" local variable. 6 years ago
Jeff Davis 2302302236 HashAgg: before spilling tuples, set unneeded columns to NULL. 6 years ago
David Rowley 9bdb300ded Fix EXPLAIN ANALYZE for parallel HashAgg plans 6 years ago
Jeff Davis 1b2c29469a Fix HashAgg regression from choosing too many initial buckets. 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
Tom Lane 5836d32655 Fix minor violations of FunctionCallInvoke usage protocol. 6 years ago
Jeff Davis 50a38f6517 Create memory context for HashAgg with a reasonable maxBlockSize. 6 years ago
Jeff Davis 0588ee63aa Include chunk overhead in hash table entry size estimate. 6 years ago
Jeff Davis 7351bfeda3 Fix costing for disk-based hash aggregation. 6 years ago
Jeff Davis 3649133b14 Avoid allocating unnecessary zero-sized array. 6 years ago
Jeff Davis 64fe602279 Fixes for Disk-based Hash Aggregation. 6 years ago
Jeff Davis 1f39bce021 Disk-based Hash Aggregation. 6 years ago
Jeff Davis c954d49046 Extend ExecBuildAggTrans() to support a NULL pointer check. 6 years ago
Andres Freund 2742c45080 expression eval: Reduce number of steps for agg transition invocations. 6 years ago
Jeff Davis b7fabe80df Fixup for nodeAgg.c refactor. 6 years ago
Jeff Davis 5b618e1f48 Minor refactor of nodeAgg.c. 6 years ago
Michael Paquier 958f9fb98d Remove duplicated words in comments 6 years ago
Jeff Davis 7d4395d0a1 Refactor hash_agg_entry_size(). 6 years ago
Alvaro Herrera c9d2977519 Clean up newlines following left parentheses 6 years ago
Andres Freund affdde2e15 Fix edge case leading to agg transitions skipping ExecAggTransReparent() calls. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Amit Kapila 14aec03502 Make the order of the header file includes consistent in backend modules. 6 years ago
Andres Freund 6a04d345fd Don't include utils/array.h from acl.h. 6 years ago
Andres Freund af3deff3f2 Fix slot type handling for Agg nodes performing internal sorts. 7 years ago
Michael Paquier 23bccc823d Fix inconsistencies and typos in the tree 7 years ago
Michael Paquier 0896ae561b Fix inconsistencies and typos in the tree 7 years ago
Andrew Gierth 44e95b5728 Fix array size allocation for HashAggregate hash keys. 7 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Tom Lane be76af171c Initial pgindent run for v12. 7 years ago
Andres Freund 2657283256 Minimally fix partial aggregation for aggregates that don't have one argument. 7 years ago