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

Commitfbec745

Browse files
committed
Fix spelling errors and typos in comments
Author: Daniel Gustafsson <daniel@yesql.se>
1 parent8610c97 commitfbec745

File tree

32 files changed

+34
-34
lines changed

32 files changed

+34
-34
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ _bt_search(Relation rel, int keysz, ScanKey scankey, bool nextkey,
184184

185185
/*
186186
* If we're asked to lock leaf in write mode, but didn't manage to, then
187-
* relock. That mayhappend when root page appears to be leaf.
187+
* relock. That mayhappen when the root page appears to be leaf.
188188
*/
189189
if (access==BT_WRITE&&page_access==BT_READ)
190190
{

‎src/backend/access/transam/xact.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ AssignTransactionId(TransactionState s)
487487

488488
/*
489489
* Ensure parent(s) have XIDs, so that a child always has an XID later
490-
* than its parent.Musn't recurse here, or we might get a stack overflow
490+
* than its parent.Mustn't recurse here, or we might get a stack overflow
491491
* if we're at the bottom of a huge stack of subtransactions none of which
492492
* have XIDs yet.
493493
*/

‎src/backend/commands/tablecmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ DefineRelation(CreateStmt *stmt, char relkind, Oid ownerId,
834834
if (OidIsValid(defaultPartOid))
835835
defaultRel=heap_open(defaultPartOid,AccessExclusiveLock);
836836

837-
/*Tranform the bound values */
837+
/*Transform the bound values */
838838
pstate=make_parsestate(NULL);
839839
pstate->p_sourcetext=queryString;
840840

‎src/backend/executor/execExprInterp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ ExecInterpExpr(ExprState *state, ExprContext *econtext, bool *isnull)
16221622

16231623
/*
16241624
* Evaluate aggregate transition / combine function that has a
1625-
* by-value transition type. That's aseperate case from the
1625+
* by-value transition type. That's aseparate case from the
16261626
* by-reference implementation because it's a bit simpler.
16271627
*/
16281628
EEO_CASE(EEOP_AGG_PLAIN_TRANS_BYVAL)

‎src/backend/executor/execPartition.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ ExecCleanupTupleRouting(ModifyTableState *mtstate,
852852
{
853853
ResultRelInfo*resultRelInfo=proute->partitions[i];
854854

855-
/* skip furtherprocesssing for uninitialized partitions */
855+
/* skip furtherprocessing for uninitialized partitions */
856856
if (resultRelInfo==NULL)
857857
continue;
858858

‎src/backend/jit/llvm/llvmjit.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ llvm_optimize_module(LLVMJitContext *context, LLVMModuleRef module)
438438

439439
if (context->base.flags&PGJIT_OPT3)
440440
{
441-
/* TODO: Unscientifically determinedthreshhold */
441+
/* TODO: Unscientifically determinedthreshold */
442442
LLVMPassManagerBuilderUseInlinerWithThreshold(llvm_pmb,512);
443443
}
444444
else
@@ -853,7 +853,7 @@ llvm_split_symbol_name(const char *name, char **modname, char **funcname)
853853
{
854854
/*
855855
* Symbol names cannot contain a ., therefore we can split based on
856-
* first and lastoccurance of one.
856+
* first and lastoccurrence of one.
857857
*/
858858
*funcname=rindex(name,'.');
859859
(*funcname)++;/* jump over . */

‎src/backend/optimizer/plan/createplan.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* and Group, which need these values to be available in their inputs.
6666
*
6767
* CP_IGNORE_TLIST specifies that the caller plans to replace the targetlist,
68-
* and therefore itdoens't matter a bit what target list gets generated.
68+
* and therefore itdoesn't matter a bit what target list gets generated.
6969
*/
7070
#defineCP_EXACT_TLIST0x0001/* Plan must return specified tlist */
7171
#defineCP_SMALL_TLIST0x0002/* Prefer narrower tlists */

‎src/backend/port/tas/sunstudio_sparc.s‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
pg_atomic_cas:
2727

2828
!"cas" only works on sparcv9and sparcv8plus chips,and
29-
!requies a compiler targeting these CPUs. It will fail
29+
!requires a compiler targeting these CPUs. It will fail
3030
! on a compiler targeting sparcv8,and of course willnot
3131
! be understood by a sparcv8 CPU. gcc continues to use
3232
!"ldstub" because it targets sparcv7.

‎src/backend/storage/ipc/dsm.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ dsm_set_control_handle(dsm_handle h)
429429
* If there is a non-NULL CurrentResourceOwner, the new segment is associated
430430
* with it and must be detached before the resource owner releases, or a
431431
* warning will be logged. If CurrentResourceOwner is NULL, the segment
432-
* remains attached untilexplicitely detached or the session ends.
432+
* remains attached untilexplicitly detached or the session ends.
433433
* Creating with a NULL CurrentResourceOwner is equivalent to creating
434434
* with a non-NULL CurrentResourceOwner and then calling dsm_pin_mapping.
435435
*/
@@ -527,7 +527,7 @@ dsm_create(Size size, int flags)
527527
* If there is a non-NULL CurrentResourceOwner, the attached segment is
528528
* associated with it and must be detached before the resource owner releases,
529529
* or a warning will be logged. Otherwise the segment remains attached until
530-
*explicitely detached or the session ends. See the note atop dsm_create().
530+
*explicitly detached or the session ends. See the note atop dsm_create().
531531
*/
532532
dsm_segment*
533533
dsm_attach(dsm_handleh)

‎src/backend/storage/ipc/latch.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ WaitEventSetWait(WaitEventSet *set, long timeout,
10301030
/*
10311031
* Wait using linux's epoll_wait(2).
10321032
*
1033-
* This is thepreferrable wait method, as several readiness notifications are
1033+
* This is thepreferable wait method, as several readiness notifications are
10341034
* delivered, without having to iterate through all of set->events. The return
10351035
* epoll_event struct contain a pointer to our events, making association
10361036
* easy.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp