1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Fix typos, update README.

Peter Geoghegan
This commit is contained in:
Robert Haas
2015-01-23 15:06:29 -05:00
parent a179232047
commit d1747571b6
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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));

View File

@ -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);