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
This commit is contained in:
Michael Paquier 2022-05-24 11:00:41 +09:00
parent d45e824b67
commit c9dfe2e83a
2 changed files with 5 additions and 5 deletions

View File

@ -32,9 +32,9 @@
* backend-local hashtable (pgStatEntryRefHash) in front of the shared * backend-local hashtable (pgStatEntryRefHash) in front of the shared
* hashtable, containing references (PgStat_EntryRef) to shared hashtable * hashtable, containing references (PgStat_EntryRef) to shared hashtable
* entries. The shared hashtable only needs to be accessed when no prior * 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 * 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. * address, to reduce access costs.
* *
* The names for structs stored in shared memory are prefixed with * The names for structs stored in shared memory are prefixed with

View File

@ -296,9 +296,9 @@ static const char *const slru_names[] = {
* values in a copy of the stats data, which is protected by ->lock. See * values in a copy of the stats data, which is protected by ->lock. See
* pgstat_fetch_stat_(archiver|bgwriter|checkpointer) for the reader side. * pgstat_fetch_stat_(archiver|bgwriter|checkpointer) for the reader side.
* *
* The only exception to that is the the stat_reset_timestamp in these * The only exception to that is the stat_reset_timestamp in these structs,
* structs, which is protected by ->lock, because it has to be written by * which is protected by ->lock, because it has to be written by another
* another backend while resetting * backend while resetting.
* ---------- * ----------
*/ */