Should the HashAggregate node also report on Buckets and Memory Usage? I would have found that useful several times. Is there some reason this is not wanted, or not possible?
I've wanted that too. It's not impossible at all.
Why wouldn't that be possible? We probably can't use exactly the same approach as Hash, because hashjoins use custom hash table while hashagg uses dynahash IIRC. But why couldn't measure the amount of memory by looking at the memory context, for example?
He said "not impossible", meaning it is possible.
I've added it to the wiki Todo page. (Hopefully that has not doomed it to be forgotten about)