diff options
author | Michael Paquier | 2023-01-11 06:16:38 +0000 |
---|---|---|
committer | Michael Paquier | 2023-01-11 06:16:38 +0000 |
commit | 5f6401f81cb24bd3930e0dc589fc4aa8b5424cdc (patch) | |
tree | 11d27dd11f3d31ad50a027e69e38bc54f3539206 /src/backend/utils/mmgr | |
parent | 69fb29d1affb525d4c91b4dc5b104a551e61c28d (diff) |
Fix typos in code and comments
Author: Justin Pryzby
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/utils/mmgr')
-rw-r--r-- | src/backend/utils/mmgr/mcxt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c index 8b6591abfb2..0b00802df70 100644 --- a/src/backend/utils/mmgr/mcxt.c +++ b/src/backend/utils/mmgr/mcxt.c @@ -717,10 +717,10 @@ MemoryContextStatsDetail(MemoryContext context, int max_children, * to the connected client. * * We don't buffer the information about all memory contexts in a - * backend into StringInfo and log it as one message. Otherwise which - * may require the buffer to be enlarged very much and lead to OOM - * error since there can be a large number of memory contexts in a - * backend. Instead, we log one message per memory context. + * backend into StringInfo and log it as one message. That would + * require the buffer to be enlarged, risking an OOM as there could + * be a large number of memory contexts in a backend. Instead, we + * log one message per memory context. */ ereport(LOG_SERVER_ONLY, (errhidestmt(true), |