diff options
| author | David Rowley | 2023-04-18 01:23:23 +0000 |
|---|---|---|
| committer | David Rowley | 2023-04-18 01:23:23 +0000 |
| commit | b4dbf3e924b2556acbe103dc61ac71f9985ff24f (patch) | |
| tree | 179232a4dbf525790273dfbdd3a4f58e30225d56 /src/include/utils | |
| parent | e39d512f3e9b1e34ffba77c8fe120c2675f6873b (diff) | |
Fix various typos
This fixes many spelling mistakes in comments, but a few references to
invalid parameter names, function names and option names too in comments
and also some in string constants
Also, fix an #undef that was undefining the incorrect definition
Author: Alexander Lakhin
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/d5f68d19-c0fc-91a9-118d-7c6a5a3f5fad@gmail.com
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/memutils_memorychunk.h | 4 | ||||
| -rw-r--r-- | src/include/utils/tuplesort.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/utils/memutils_memorychunk.h b/src/include/utils/memutils_memorychunk.h index 2439ba4e961..ffa91131c88 100644 --- a/src/include/utils/memutils_memorychunk.h +++ b/src/include/utils/memutils_memorychunk.h @@ -37,8 +37,8 @@ * In some cases, for example when memory allocations become large, it's * possible fields 3 and 4 above are not large enough to store the values * required for the chunk. In this case, the MemoryContext can choose to mark - * the chunk as "external" by calling the MemoryChunkSetExternal() function. - * When this is done, fields 3 and 4 are unavailable for use by the + * the chunk as "external" by calling the MemoryChunkSetHdrMaskExternal() + * function. When this is done, fields 3 and 4 are unavailable for use by the * MemoryContext and it's up to the MemoryContext itself to devise its own * method for getting the reference to the block. * diff --git a/src/include/utils/tuplesort.h b/src/include/utils/tuplesort.h index 395abfe596d..656a2e98976 100644 --- a/src/include/utils/tuplesort.h +++ b/src/include/utils/tuplesort.h @@ -146,7 +146,7 @@ typedef int (*SortTupleComparator) (const SortTuple *a, const SortTuple *b, /* * The public part of a Tuple sort operation state. This data structure - * containsthe definition of sort-variant-specific interface methods and + * contains the definition of sort-variant-specific interface methods and * the part of Tuple sort operation state required by their implementations. */ typedef struct @@ -189,7 +189,7 @@ typedef struct * Function to do some specific release of resources for the sort variant. * In particular, this function should free everything stored in the "arg" * field, which wouldn't be cleared on reset of the Tuple sort memory - * contextes. This can be NULL if nothing specific needs to be done. + * contexts. This can be NULL if nothing specific needs to be done. */ void (*freestate) (Tuplesortstate *state); |
