Commit d1747571 authored by Robert Haas's avatar Robert Haas

Fix typos, update README.

Peter Geoghegan
parent a1792320
...@@ -3,6 +3,8 @@ in the backend: ...@@ -3,6 +3,8 @@ in the backend:
binaryheap.c - a binary heap binaryheap.c - a binary heap
hyperloglog.c - a streaming cardinality estimator
pairingheap.c - a pairing heap pairingheap.c - a pairing heap
rbtree.c - a red-black tree rbtree.c - a red-black tree
......
...@@ -2088,7 +2088,7 @@ bttext_abbrev_convert(Datum original, SortSupport ssup) ...@@ -2088,7 +2088,7 @@ bttext_abbrev_convert(Datum original, SortSupport ssup)
* *
* First, Hash key proper, or a significant fraction of it. Mix in length * First, Hash key proper, or a significant fraction of it. Mix in length
* in order to compensate for cases where differences are past * 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, hash = hash_any((unsigned char *) authoritative_data,
Min(len, PG_CACHE_LINE_SIZE)); Min(len, PG_CACHE_LINE_SIZE));
......
...@@ -165,8 +165,8 @@ typedef struct SortSupportData ...@@ -165,8 +165,8 @@ typedef struct SortSupportData
* may set it to NULL to indicate abbreviation should not be used (which is * may set it to NULL to indicate abbreviation should not be used (which is
* something sortsupport routines need not concern themselves with). * something sortsupport routines need not concern themselves with).
* However, sortsupport routines must not set it when it is immediately * However, sortsupport routines must not set it when it is immediately
* established that abbreviation should not proceed (for abbreviation * established that abbreviation should not proceed (e.g., for !abbreviate
* calls, or platform-specific impediments to using abbreviation). * calls, or due to platform-specific impediments to using abbreviation).
*/ */
Datum (*abbrev_converter) (Datum original, SortSupport ssup); Datum (*abbrev_converter) (Datum original, SortSupport ssup);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment