From 88e947136b47664b6936b35542f2d1eda0c90588 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sat, 19 Apr 2025 19:17:42 +0900 Subject: 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 Discussion: https://postgr.es/m/9a7763ab-5252-429d-a943-b28941e0e28b@gmail.com --- src/backend/utils/adt/mcxtfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/utils/adt/mcxtfuncs.c') 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, -- cgit v1.2.3