From d1747571b63444615730ca17474e9e89974c48ad Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 23 Jan 2015 15:06:29 -0500 Subject: [PATCH] Fix typos, update README. Peter Geoghegan --- src/backend/lib/README | 2 ++ src/backend/utils/adt/varlena.c | 2 +- src/include/utils/sortsupport.h | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/backend/lib/README b/src/backend/lib/README index 2f16351849..5e5ba5e437 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 c79b641391..cfa192193b 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 62fedfaaad..44c596f507 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); -- 2.40.0