Commit Graph

365 Commits (cc721c459d3783bbdb4beb1bbfa802a5328d15a2)

Author SHA1 Message Date
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. 5 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. 6 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
Andres Freund 88e6ad3054 Fix two memory leaks around force-storing tuples in slots. 7 years ago
Peter Eisentraut 5e1963fb76 Collations with nondeterministic comparison 7 years ago
Andres Freund 356687bd82 Reset, not recreate, execGrouping.c style hashtables. 7 years ago
Tom Lane f09346a9c6 Refactor planner's header files. 7 years ago
Andres Freund a9c35cf85c Change function call information to be variable length. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Andres Freund 4da597edf1 Make TupleTableSlots extensible, finish split of existing slot type. 7 years ago
Andres Freund 1a0586de36 Introduce notion of different types of slots (without implementing them). 7 years ago
Andres Freund 1ef6bd2954 Don't require return slots for nodes without projection. 7 years ago