diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-04-19 11:32:30 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-04-19 11:32:30 +0900 |
commit | 7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f (patch) | |
tree | 9dd7a216019831ea53951e4e08aff564b634dba8 /src/backend/utils/activity/backend_status.c | |
parent | c731f9187b5fd7038b04ba60703d3cace1806366 (diff) | |
download | postgresql-7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f.tar.gz postgresql-7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f.zip |
Fix typos and grammar in comments and docs
Author: Justin Pryzby
Discussion: https://postgr.es/m/20210416070310.GG3315@telsasoft.com
Diffstat (limited to 'src/backend/utils/activity/backend_status.c')
-rw-r--r-- | src/backend/utils/activity/backend_status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/activity/backend_status.c b/src/backend/utils/activity/backend_status.c index 6110113e56a..5c1b2c25ed2 100644 --- a/src/backend/utils/activity/backend_status.c +++ b/src/backend/utils/activity/backend_status.c @@ -1032,10 +1032,10 @@ pgstat_get_my_queryid(void) if (!MyBEEntry) return 0; - /* There's no need for a look around pgstat_begin_read_activity / + /* There's no need for a lock around pgstat_begin_read_activity / * pgstat_end_read_activity here as it's only called from * pg_stat_get_activity which is already protected, or from the same - * backend which mean that there won't be concurrent write. + * backend which means that there won't be concurrent writes. */ return MyBEEntry->st_queryid; } |