Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c9dfe2e

Browse files
committed
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
1 parent d45e824 commit c9dfe2e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/backend/utils/activity/pgstat.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
* backend-local hashtable (pgStatEntryRefHash) in front of the shared
3333
* hashtable, containing references (PgStat_EntryRef) to shared hashtable
3434
* entries. The shared hashtable only needs to be accessed when no prior
35-
* reference is found in the local hashtable. Besides pointing to the the
35+
* reference is found in the local hashtable. Besides pointing to the
3636
* shared hashtable entry (PgStatShared_HashEntry) PgStat_EntryRef also
37-
* contains a pointer to the the shared statistics data, as a process-local
37+
* contains a pointer to the shared statistics data, as a process-local
3838
* address, to reduce access costs.
3939
*
4040
* The names for structs stored in shared memory are prefixed with

src/include/utils/pgstat_internal.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ static const char *const slru_names[] = {
296296
* values in a copy of the stats data, which is protected by ->lock. See
297297
* pgstat_fetch_stat_(archiver|bgwriter|checkpointer) for the reader side.
298298
*
299-
* The only exception to that is the the stat_reset_timestamp in these
300-
* structs, which is protected by ->lock, because it has to be written by
301-
* another backend while resetting
299+
* The only exception to that is the stat_reset_timestamp in these structs,
300+
* which is protected by ->lock, because it has to be written by another
301+
* backend while resetting.
302302
* ----------
303303
*/
304304

0 commit comments

Comments
 (0)