diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-08-03 12:17:41 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-08-03 12:23:05 +1200 |
commit | 63e9aa6879cc5b87c77bab9afea3740748a4f00b (patch) | |
tree | 5184ce1e980d7f5d3fb81601c6ba9d0edb602194 | |
parent | 533020d05045046a3481fdd92777de7bb2e30ab3 (diff) | |
download | postgresql-63e9aa6879cc5b87c77bab9afea3740748a4f00b.tar.gz postgresql-63e9aa6879cc5b87c77bab9afea3740748a4f00b.zip |
Correct comment in simplehash.h.
Post-commit review for commit 84c0e4b9.
Author: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAApHDvptBx_%2BUPAzY0uXzopbvPVGKPeZ6Hoy8rnPcWz20Cr0Bw%40mail.gmail.com
-rw-r--r-- | src/include/lib/simplehash.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h index 96f0c21f606..395be1ca9a7 100644 --- a/src/include/lib/simplehash.h +++ b/src/include/lib/simplehash.h @@ -51,7 +51,8 @@ * - SH_STORE_HASH - if defined the hash is stored in the elements * - SH_GET_HASH(tb, a) - return the field to store the hash in * - * The element type is required to contain a "uint32 status" member. + * The element type is required to contain a "status" member that can store + * the range of values defined in the SH_STATUS enum. * * While SH_STORE_HASH (and subsequently SH_GET_HASH) are optional, because * the hash table implementation needs to compare hashes to move elements |