Comment fixups from 626df47ad9. master github/master
authorJeff Davis <jdavis@postgresql.org>
Fri, 13 Jun 2025 17:02:24 +0000 (10:02 -0700)
committerJeff Davis <jdavis@postgresql.org>
Fri, 13 Jun 2025 17:02:24 +0000 (10:02 -0700)
Reported-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/CAHut+PspbHQmRCBL1c-opoJeTUKUaFFfUQJd2rhDZqwUrWCi7w@mail.gmail.com

src/backend/executor/execGrouping.c

index 255bd795361a20a7210d1e6de46da609f74f33d6..b54007493538622c3261162793f78d956c39c573 100644 (file)
@@ -144,7 +144,7 @@ execTuplesHashPrepare(int numCols,
  * hashfunctions: FmgrInfos of datatype-specific hashing functions to use
  * collations: collations to use in comparisons
  * nbuckets: initial estimate of hashtable size
- * additionalsize: size of data stored in ->additional
+ * additionalsize: size of data that may be stored along with the hash entry
  * metacxt: memory context for long-lived allocation, but not per-entry data
  * tablecxt: memory context in which to store table entries
  * tempcxt: short-lived context for evaluation hash and comparison functions
@@ -288,7 +288,7 @@ ResetTupleHashTable(TupleHashTable hashtable)
  *
  * If isnew isn't NULL, then a new entry is created if no existing entry
  * matches.  On return, *isnew is true if the entry is newly created,
- * false if it existed already.  ->additional_data in the new entry has
+ * false if it existed already.  The additional data in the new entry has
  * been zeroed.
  */
 TupleHashEntry