Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9dfe2e

Browse files
committed
Remove duplicated words in comments of pgstat.c and pgstat_internal.h
Author: Atsushi TorikoshiReviewed-by: Nathan BossartDiscussion:https://postgr.es/m/d00ddbf29f9d09b3a471e64977560de1@oss.nttdata.com
1 parentd45e824 commitc9dfe2e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/backend/utils/activity/pgstat.c

Lines changed: 2 additions & 2 deletions
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 thetheshared 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

Lines changed: 3 additions & 3 deletions
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 thethestat_reset_timestamp in these
300-
*structs,which is protected by ->lock, because it has to be written by
301-
*anotherbackend 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)

[8]ページ先頭

©2009-2025 Movatter.jp