summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2025-10-18 12:50:14 +1300
committerDavid Rowley <drowley@postgresql.org>2025-10-18 12:50:14 +1300
commit86d118f9a60c6aafe1a6331fdf80455df24f32ae (patch)
treed0d576cdac72b66f8b2a3db4e662c99ba403c5b6
parentb85c4700fc5124999e22ea7300ecc0a290c81cbc (diff)
Englishify comment wording
Switch to using the English word here rather than using a verbified function name. The full word still fits within a single comment line, so it's probably better just to use that instead of trying to shorten it, which might cause confusion. Author: Rafia Sabih <rafia.pghackers@gmail.com> Discussion: https://postgr.es/m/CA+FpmFe7LnRF2NA_QfARjkSWme4mNt+Udwbh2Yb=zZm35Ji31w@mail.gmail.com
-rw-r--r--src/include/nodes/memnodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/memnodes.h b/src/include/nodes/memnodes.h
index 5807ef805bd..f8a78095eb9 100644
--- a/src/include/nodes/memnodes.h
+++ b/src/include/nodes/memnodes.h
@@ -120,7 +120,7 @@ typedef struct MemoryContextData
NodeTag type; /* identifies exact kind of context */
/* these two fields are placed here to minimize alignment wastage: */
- bool isReset; /* T = no space alloced since last reset */
+ bool isReset; /* T = no space allocated since last reset */
bool allowInCritSection; /* allow palloc in critical section */
Size mem_allocated; /* track memory allocated for this context */
const MemoryContextMethods *methods; /* virtual function table */