Commit Graph

347 Commits (fce3b26e97ca98de054734e2af7d9125661a9b3f)

Author SHA1 Message Date
Tom Lane fce3b26e97 Rename ExecAggTransReparent, and improve its documentation. 3 years ago
David Rowley 3f58a4e296 Fix various typos and incorrect/outdated name references 3 years ago
Tom Lane 78d5952dd0 Ensure result of an aggregate's finalfunc is made read-only. 3 years ago
Tom Lane 141225b251 Mop up some undue familiarity with the innards of Bitmapsets. 3 years ago
Tom Lane 462bb7f128 Remove bms_first_member(). 3 years ago
Tom Lane 8d83a5d0a2 Remove redundant grouping and DISTINCT columns. 3 years ago
Tom Lane 92957ed98c Avoid reference to nonexistent array element in ExecInitAgg(). 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Peter Eisentraut 5f2f99c9c6 Remove unnecessary casts 3 years ago
Peter Eisentraut c727f511bd Refactor aclcheck functions 3 years ago
David Rowley d37aa3d358 Allow nodeSort to perform Datum sorts for byref types 3 years ago
Tom Lane 42b746d4c9 Remove uses of MemoryContextContains in nodeAgg.c and nodeWindowAgg.c. 3 years ago
David Rowley 2d0bbedda7 Rename shadowed local variables 3 years ago
Peter Geoghegan bfcf1b3480 Harmonize parameter names in storage and AM code. 3 years ago
David Rowley 421892a192 Further reduce warnings with -Wshadow=compatible-local 3 years ago
David Rowley 1349d2790b Improve performance of ORDER BY / DISTINCT aggregates 3 years ago
Tom Lane 8821054210 Remove stray references to lefttree/righttree in the executor. 4 years ago
Alvaro Herrera c4f113e8fe
Clean up newlines following left parentheses 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
David Rowley 77bae396df Adjust tuplesort API to have bitwise option flags 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tom Lane e9d9ba2a4d Avoid some other O(N^2) hazards in list manipulation. 4 years ago
Heikki Linnakangas c4649cce39 Refactor LogicalTapeSet/LogicalTape interface. 4 years ago
Tom Lane 28d936031a Get rid of artificial restriction on hash table sizes on Windows. 4 years ago
David Rowley 63b1af9437 Cleanup some aggregate code in the executor 5 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. 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