diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-04-19 19:17:42 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-04-19 19:17:42 +0900 |
commit | 88e947136b47664b6936b35542f2d1eda0c90588 (patch) | |
tree | 6a5999ed2088fb1455940632b70a8d452ec56347 /src/backend/utils/adt/mcxtfuncs.c | |
parent | 114f7fa81c72637d75b574269f2076dcc1104e24 (diff) | |
download | postgresql-88e947136b47664b6936b35542f2d1eda0c90588.tar.gz postgresql-88e947136b47664b6936b35542f2d1eda0c90588.zip |
Fix typos and grammar in the code
The large majority of these have been introduced by recent commits done
in the v18 development cycle.
Author: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/9a7763ab-5252-429d-a943-b28941e0e28b@gmail.com
Diffstat (limited to 'src/backend/utils/adt/mcxtfuncs.c')
-rw-r--r-- | src/backend/utils/adt/mcxtfuncs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/mcxtfuncs.c b/src/backend/utils/adt/mcxtfuncs.c index 254cdd34fba..206b601a52b 100644 --- a/src/backend/utils/adt/mcxtfuncs.c +++ b/src/backend/utils/adt/mcxtfuncs.c @@ -323,8 +323,8 @@ pg_log_backend_memory_contexts(PG_FUNCTION_ARGS) * Signal a backend or an auxiliary process to send its memory contexts, * wait for the results and display them. * - * By default, only superusers or users with PG_READ_ALL_STATS are allowed to - * signal a process to return the memory contexts. This is because allowing + * By default, only superusers or users with ROLE_PG_READ_ALL_STATS are allowed + * to signal a process to return the memory contexts. This is because allowing * any users to issue this request at an unbounded rate would cause lots of * requests to be sent, which can lead to denial of service. Additional roles * can be permitted with GRANT. @@ -495,7 +495,7 @@ pg_get_process_memory_contexts(PG_FUNCTION_ARGS) * statistics are available within the allowed time then display * previously published statistics if there are any. If no * previous statistics are available then return NULL. The timer - * is defined in milliseconds since thats what the condition + * is defined in milliseconds since that's what the condition * variable sleep uses. */ if (ConditionVariableTimedSleep(&memCxtState[procNumber].memcxt_cv, |