aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/lib/README2
-rw-r--r--src/backend/utils/adt/varlena.c2
-rw-r--r--src/include/utils/sortsupport.h4
3 files changed, 5 insertions, 3 deletions
diff --git a/src/backend/lib/README b/src/backend/lib/README
index 2f16351849d..5e5ba5e4372 100644
--- a/src/backend/lib/README
+++ b/src/backend/lib/README
@@ -3,6 +3,8 @@ in the backend:
binaryheap.c - a binary heap
+hyperloglog.c - a streaming cardinality estimator
+
pairingheap.c - a pairing heap
rbtree.c - a red-black tree
diff --git a/src/backend/utils/adt/varlena.c b/src/backend/utils/adt/varlena.c
index c79b6413916..cfa192193b4 100644
--- a/src/backend/utils/adt/varlena.c
+++ b/src/backend/utils/adt/varlena.c
@@ -2088,7 +2088,7 @@ bttext_abbrev_convert(Datum original, SortSupport ssup)
*
* First, Hash key proper, or a significant fraction of it. Mix in length
* in order to compensate for cases where differences are past
- * CACHE_LINE_SIZE bytes, so as to limit the overhead of hashing.
+ * PG_CACHE_LINE_SIZE bytes, so as to limit the overhead of hashing.
*/
hash = hash_any((unsigned char *) authoritative_data,
Min(len, PG_CACHE_LINE_SIZE));
diff --git a/src/include/utils/sortsupport.h b/src/include/utils/sortsupport.h
index 62fedfaaad4..44c596f507d 100644
--- a/src/include/utils/sortsupport.h
+++ b/src/include/utils/sortsupport.h
@@ -165,8 +165,8 @@ typedef struct SortSupportData
* may set it to NULL to indicate abbreviation should not be used (which is
* something sortsupport routines need not concern themselves with).
* However, sortsupport routines must not set it when it is immediately
- * established that abbreviation should not proceed (for abbreviation
- * calls, or platform-specific impediments to using abbreviation).
+ * established that abbreviation should not proceed (e.g., for !abbreviate
+ * calls, or due to platform-specific impediments to using abbreviation).
*/
Datum (*abbrev_converter) (Datum original, SortSupport ssup);