Skip to content

Commit d174757

Browse files
committed
Fix typos, update README.
Peter Geoghegan
1 parent a179232 commit d174757

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/backend/lib/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ in the backend:
33

44
binaryheap.c - a binary heap
55

6+
hyperloglog.c - a streaming cardinality estimator
7+
68
pairingheap.c - a pairing heap
79

810
rbtree.c - a red-black tree

src/backend/utils/adt/varlena.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2088,7 +2088,7 @@ bttext_abbrev_convert(Datum original, SortSupport ssup)
20882088
*
20892089
* First, Hash key proper, or a significant fraction of it. Mix in length
20902090
* in order to compensate for cases where differences are past
2091-
* CACHE_LINE_SIZE bytes, so as to limit the overhead of hashing.
2091+
* PG_CACHE_LINE_SIZE bytes, so as to limit the overhead of hashing.
20922092
*/
20932093
hash = hash_any((unsigned char *) authoritative_data,
20942094
Min(len, PG_CACHE_LINE_SIZE));

src/include/utils/sortsupport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ typedef struct SortSupportData
165165
* may set it to NULL to indicate abbreviation should not be used (which is
166166
* something sortsupport routines need not concern themselves with).
167167
* However, sortsupport routines must not set it when it is immediately
168-
* established that abbreviation should not proceed (for abbreviation
169-
* calls, or platform-specific impediments to using abbreviation).
168+
* established that abbreviation should not proceed (e.g., for !abbreviate
169+
* calls, or due to platform-specific impediments to using abbreviation).
170170
*/
171171
Datum (*abbrev_converter) (Datum original, SortSupport ssup);
172172

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy