summaryrefslogtreecommitdiff
path: root/src/include/utils/memutils_memorychunk.h
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-04-18 13:23:23 +1200
committerDavid Rowley <drowley@postgresql.org>2023-04-18 13:23:23 +1200
commitb4dbf3e924b2556acbe103dc61ac71f9985ff24f (patch)
tree179232a4dbf525790273dfbdd3a4f58e30225d56 /src/include/utils/memutils_memorychunk.h
parente39d512f3e9b1e34ffba77c8fe120c2675f6873b (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/memutils_memorychunk.h')
-rw-r--r--src/include/utils/memutils_memorychunk.h4
1 files changed, 2 insertions, 2 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.
*