Fix whitespace in HashAgg EXPLAIN ANALYZE
authorDavid Rowley <drowley@postgresql.org>
Wed, 8 Jul 2020 22:07:00 +0000 (10:07 +1200)
committerDavid Rowley <drowley@postgresql.org>
Wed, 8 Jul 2020 22:07:00 +0000 (10:07 +1200)
commit285da44a69ddcbe8aa955b5f863e02121f41c189
tree449fc4c5c2a3359446d8adaa852c2ae8d3309239
parenta2b94693beb1d052f2b4935384dd6f7f47143669
Fix whitespace in HashAgg EXPLAIN ANALYZE

The Sort node does not put a space between the number of kilobytes and
the "kB" of memory or disk space used, but HashAgg does.  Here we align
HashAgg to do the same as Sort.  Sort has been displaying this
information for longer than HashAgg, so it makes sense to align HashAgg
to Sort rather than the other way around.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20200708163021.GW4107@telsasoft.com
Backpatch-through: 13, where the hashagg started showing these details
src/backend/commands/explain.c