diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-05-24 11:00:41 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-05-24 11:00:41 +0900 |
commit | c9dfe2e83a8dbc30e6992ced01da2f7cfa0f63f3 (patch) | |
tree | 58d0c3851f82eec01b03240a25a5372d5291cd12 /src | |
parent | d45e824b6719147ef5d225c1949c2e65548e00ff (diff) | |
download | postgresql-c9dfe2e83a8dbc30e6992ced01da2f7cfa0f63f3.tar.gz postgresql-c9dfe2e83a8dbc30e6992ced01da2f7cfa0f63f3.zip |
Remove duplicated words in comments of pgstat.c and pgstat_internal.h
Author: Atsushi Torikoshi
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/d00ddbf29f9d09b3a471e64977560de1@oss.nttdata.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/activity/pgstat.c | 4 | ||||
-rw-r--r-- | src/include/utils/pgstat_internal.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/activity/pgstat.c b/src/backend/utils/activity/pgstat.c index 3c3fd0e9b7f..05f2d9e9bd0 100644 --- a/src/backend/utils/activity/pgstat.c +++ b/src/backend/utils/activity/pgstat.c @@ -32,9 +32,9 @@ * backend-local hashtable (pgStatEntryRefHash) in front of the shared * hashtable, containing references (PgStat_EntryRef) to shared hashtable * entries. The shared hashtable only needs to be accessed when no prior - * reference is found in the local hashtable. Besides pointing to the the + * reference is found in the local hashtable. Besides pointing to the * shared hashtable entry (PgStatShared_HashEntry) PgStat_EntryRef also - * contains a pointer to the the shared statistics data, as a process-local + * contains a pointer to the shared statistics data, as a process-local * address, to reduce access costs. * * The names for structs stored in shared memory are prefixed with diff --git a/src/include/utils/pgstat_internal.h b/src/include/utils/pgstat_internal.h index 0eccaea6c1a..9303d05427f 100644 --- a/src/include/utils/pgstat_internal.h +++ b/src/include/utils/pgstat_internal.h @@ -296,9 +296,9 @@ static const char *const slru_names[] = { * values in a copy of the stats data, which is protected by ->lock. See * pgstat_fetch_stat_(archiver|bgwriter|checkpointer) for the reader side. * - * The only exception to that is the the stat_reset_timestamp in these - * structs, which is protected by ->lock, because it has to be written by - * another backend while resetting + * The only exception to that is the stat_reset_timestamp in these structs, + * which is protected by ->lock, because it has to be written by another + * backend while resetting. * ---------- */ |