mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user