Skip to content

Commit c9fc28a

Browse files
committed
Minor spelling fixes
Fix a few spelling mistakes. Per bug report #8193 from Lajos Veres.
1 parent 551938a commit c9fc28a

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 file existance \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
261+
pg_log(PG_FATAL, "error while checking for file existence \"%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 checking wether RecPtr is a valid xlog address for reading and to
906+
* Useful for checking whether 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
int q;
531531
DocRepresentation *begin;
532532
DocRepresentation *end;
533-
} Extention;
533+
} CoverExt;
534534

535535

536536
static bool
537-
Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, Extention *ext)
537+
Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, CoverExt *ext)
538538
{
539539
DocRepresentation *ptr;
540540
int lastpos = ext->pos;
@@ -729,7 +729,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
729729
int len,
730730
i,
731731
doclen = 0;
732-
Extention ext;
732+
CoverExt ext;
733733
double Wdoc = 0.0;
734734
double invws[lengthof(weights)];
735735
double SumDist = 0.0,
@@ -759,7 +759,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
759759
return 0.0;
760760
}
761761

762-
MemSet(&ext, 0, sizeof(Extention));
762+
MemSet(&ext, 0, sizeof(CoverExt));
763763
while (Cover(doc, doclen, &qr, &ext))
764764
{
765765
double Cpos = 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy