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

Commitc9fc28a

Browse files
committed
Minor spelling fixes
Fix a few spelling mistakes.Per bug report #8193 from Lajos Veres.
1 parent551938a commitc9fc28a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎contrib/pg_upgrade/relfilenode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
258258
if (errno==ENOENT)
259259
return;
260260
else
261-
pg_log(PG_FATAL,"error while checking for fileexistance \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
261+
pg_log(PG_FATAL,"error while checking for fileexistence \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
262262
map->nspname,map->relname,old_file,new_file,
263263
getErrorText(errno));
264264
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ ValidXLogPageHeader(XLogReaderState *state, XLogRecPtr recptr,
903903
/*
904904
* Find the first record with at an lsn >= RecPtr.
905905
*
906-
* Useful for checkingwether RecPtr is a valid xlog address for reading and to
906+
* Useful for checkingwhether RecPtr is a valid xlog address for reading and to
907907
* find the first valid address after some address when dumping records for
908908
* debugging purposes.
909909
*/

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,11 +530,11 @@ typedef struct
530530
intq;
531531
DocRepresentation*begin;
532532
DocRepresentation*end;
533-
}Extention;
533+
}CoverExt;
534534

535535

536536
staticbool
537-
Cover(DocRepresentation*doc,intlen,QueryRepresentation*qr,Extention*ext)
537+
Cover(DocRepresentation*doc,intlen,QueryRepresentation*qr,CoverExt*ext)
538538
{
539539
DocRepresentation*ptr;
540540
intlastpos=ext->pos;
@@ -729,7 +729,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
729729
intlen,
730730
i,
731731
doclen=0;
732-
Extentionext;
732+
CoverExtext;
733733
doubleWdoc=0.0;
734734
doubleinvws[lengthof(weights)];
735735
doubleSumDist=0.0,
@@ -759,7 +759,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
759759
return0.0;
760760
}
761761

762-
MemSet(&ext,0,sizeof(Extention));
762+
MemSet(&ext,0,sizeof(CoverExt));
763763
while (Cover(doc,doclen,&qr,&ext))
764764
{
765765
doubleCpos=0.0;

‎src/tools/pgindent/typedefs.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ CopyStmt
326326
Cost
327327
CostSelector
328328
Counters
329+
CoverExt
329330
CoverPos
330331
CreateCastStmt
331332
CreateConversionStmt
@@ -487,7 +488,6 @@ ExtensionBehavior
487488
ExtensionControlFile
488489
ExtensionInfo
489490
ExtensionVersionInfo
490-
Extention
491491
FDWCollateState
492492
FD_SET
493493
FILE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp