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

Commit84fd3bc

Browse files
committed
Fix a few duplicate words in comments
These are all new to v18Author: David Rowley <dgrowleyml@gmail.com>Discussion:https://postgr.es/m/CAApHDvrMcr8XD107H3NV=WHgyBcu=sx5+7=WArr-n_cWUqdFXQ@mail.gmail.com
1 parent8180136 commit84fd3bc

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

‎contrib/amcheck/verify_heapam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ verify_heapam(PG_FUNCTION_ARGS)
460460
else
461461
{
462462
/*
463-
* It would not be safe to naively useusebatchmode, as
463+
* It would not be safe to naively use batchmode, as
464464
* heapcheck_read_stream_next_unskippable takes locks. It shouldn't be
465465
* too hard to convert though.
466466
*/

‎contrib/pg_buffercache/pg_buffercache_pages.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ pg_buffercache_numa_pages(PG_FUNCTION_ARGS)
450450
* locks, so the information of each buffer is self-consistent.
451451
*
452452
* This loop touches and stores addresses into os_page_ptrs[] as input
453-
* to one bigbigmove_pages(2) inquiry system call. Basically we ask
454-
*forall memory pages for NBuffers.
453+
* to one big move_pages(2) inquiry system call. Basically we ask for
454+
* all memory pages for NBuffers.
455455
*/
456456
startptr= (char*)TYPEALIGN_DOWN(os_page_size, (char*)BufferGetBlock(1));
457457
idx=0;

‎src/backend/access/nbtree/nbtpreprocesskeys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ _bt_preprocess_array_keys_final(IndexScanDesc scan, int *keyDataMap)
20512051
* the scan's BTArrayKeyInfo array, which is guaranteed to be large enough to
20522052
* fit every so->arrayKeys[] entry.
20532053
*
2054-
* Also sets *numSkipArrayKeys_out to the number ofofskip arrays caller must
2054+
* Also sets *numSkipArrayKeys_out to the number of skip arrays caller must
20552055
* add to the scan keys it'll output. Caller must add this many skip arrays:
20562056
* one array for each of the most significant attributes that lack a = input
20572057
* key (IS NULL keys count as = input keys here). The specific attributes

‎src/backend/access/nbtree/nbtutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2597,7 +2597,7 @@ _bt_set_startikey(IndexScanDesc scan, BTReadPageState *pstate)
25972597
continue;
25982598
}
25992599

2600-
/* Some = key (could be aascalar = key, could be an array = key) */
2600+
/* Some = key (could be a scalar = key, could be an array = key) */
26012601
Assert(key->sk_strategy==BTEqualStrategyNumber);
26022602

26032603
if (!(key->sk_flags&SK_SEARCHARRAY))

‎src/backend/executor/execPartition.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,8 +1983,8 @@ ExecInitPartitionExecPruning(PlanState *planstate,
19831983
* account for any that were removed due to initial pruning; refer to the
19841984
* condition in InitExecPartitionPruneContexts() that is used to determine
19851985
* whether to do this. If no exec pruning needs to be done, we would thus
1986-
* leave the maps to be in an invalidinvalidstate, but that's ok since
1987-
*that datawon't be consulted again (cf initial Assert in
1986+
* leave the maps to be in an invalid state, but that's ok since that data
1987+
* won't be consulted again (cf initial Assert in
19881988
* ExecFindMatchingSubPlans).
19891989
*/
19901990
if (prunestate->do_exec_prune)

‎src/backend/utils/adt/pg_locale.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ PGLC_localeconv(void)
551551
"could not get lconv for LC_MONETARY = \"%s\", LC_NUMERIC = \"%s\": %m",
552552
locale_monetary,locale_numeric);
553553

554-
/* Must copy data nownowso we can re-encode it. */
554+
/* Must copy data now so we can re-encode it. */
555555
extlconv=&tmp;
556556
worklconv.decimal_point=strdup(extlconv->decimal_point);
557557
worklconv.thousands_sep=strdup(extlconv->thousands_sep);

‎src/backend/utils/mmgr/mcxt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ ProcessGetMemoryContextInterrupt(void)
14781478
summary);
14791479

14801480
/*
1481-
* Allocate memory in this process's DSA for storing statistics of the the
1481+
* Allocate memory in this process's DSA for storing statistics of the
14821482
* memory contexts upto max_stats, for contexts that don't fit within a
14831483
* limit, a cumulative total is written as the last record in the DSA
14841484
* segment.
@@ -1488,8 +1488,8 @@ ProcessGetMemoryContextInterrupt(void)
14881488
LWLockAcquire(&memCxtArea->lw_lock,LW_EXCLUSIVE);
14891489

14901490
/*
1491-
* Create a DSA and send handle to thetheclient process after storing
1492-
*thecontext statistics. If number of contexts exceed a predefined
1491+
* Create a DSA and send handle to the client process after storing the
1492+
* context statistics. If number of contexts exceed a predefined
14931493
* limit(8MB), a cumulative total is stored for such contexts.
14941494
*/
14951495
if (memCxtArea->memstats_dsa_handle==DSA_HANDLE_INVALID)

‎src/bin/pg_upgrade/relfilenumber.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ swap_catalog_files(FileNameMap *maps, int size, const char *old_catalog_dir,
424424
* stage of pg_upgrade in swap mode, so we need to synchronize them
425425
* ourselves. We only do this for the catalog files because they were
426426
* created during pg_restore with fsync=off. We assume that the user
427-
* data filesfileswere properly persisted to disk when the user last
428-
*shutit down.
427+
* data files were properly persisted to disk when the user last shut
428+
* it down.
429429
*/
430430
if (user_opts.do_sync)
431431
sync_queue_push(dest);

‎src/include/storage/aio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ struct PgAioTargetInfo
159159
{
160160
/*
161161
* To support executing using worker processes, the file descriptor for an
162-
* IO may need to bebereopened in a different process.
162+
* IO may need to be reopened in a different process.
163163
*/
164164
void(*reopen) (PgAioHandle*ioh);
165165

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp