1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Minor spelling fixes

Fix a few spelling mistakes.

Per bug report #8193 from Lajos Veres.
This commit is contained in:
Stephen Frost
2013-06-01 10:18:59 -04:00
parent 551938ae22
commit c9fc28a7f1
4 changed files with 7 additions and 7 deletions

View File

@ -258,7 +258,7 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
if (errno == ENOENT) if (errno == ENOENT)
return; return;
else else
pg_log(PG_FATAL, "error while checking for file existance \"%s.%s\" (\"%s\" to \"%s\"): %s\n", pg_log(PG_FATAL, "error while checking for file existence \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
map->nspname, map->relname, old_file, new_file, map->nspname, map->relname, old_file, new_file,
getErrorText(errno)); getErrorText(errno));
} }

View File

@ -903,7 +903,7 @@ ValidXLogPageHeader(XLogReaderState *state, XLogRecPtr recptr,
/* /*
* Find the first record with at an lsn >= RecPtr. * Find the first record with at an lsn >= RecPtr.
* *
* Useful for checking wether RecPtr is a valid xlog address for reading and to * Useful for checking whether RecPtr is a valid xlog address for reading and to
* find the first valid address after some address when dumping records for * find the first valid address after some address when dumping records for
* debugging purposes. * debugging purposes.
*/ */

View File

@ -530,11 +530,11 @@ typedef struct
int q; int q;
DocRepresentation *begin; DocRepresentation *begin;
DocRepresentation *end; DocRepresentation *end;
} Extention; } CoverExt;
static bool static bool
Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, Extention *ext) Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, CoverExt *ext)
{ {
DocRepresentation *ptr; DocRepresentation *ptr;
int lastpos = ext->pos; int lastpos = ext->pos;
@ -729,7 +729,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
int len, int len,
i, i,
doclen = 0; doclen = 0;
Extention ext; CoverExt ext;
double Wdoc = 0.0; double Wdoc = 0.0;
double invws[lengthof(weights)]; double invws[lengthof(weights)];
double SumDist = 0.0, double SumDist = 0.0,
@ -759,7 +759,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
return 0.0; return 0.0;
} }
MemSet(&ext, 0, sizeof(Extention)); MemSet(&ext, 0, sizeof(CoverExt));
while (Cover(doc, doclen, &qr, &ext)) while (Cover(doc, doclen, &qr, &ext))
{ {
double Cpos = 0.0; double Cpos = 0.0;

View File

@ -326,6 +326,7 @@ CopyStmt
Cost Cost
CostSelector CostSelector
Counters Counters
CoverExt
CoverPos CoverPos
CreateCastStmt CreateCastStmt
CreateConversionStmt CreateConversionStmt
@ -487,7 +488,6 @@ ExtensionBehavior
ExtensionControlFile ExtensionControlFile
ExtensionInfo ExtensionInfo
ExtensionVersionInfo ExtensionVersionInfo
Extention
FDWCollateState FDWCollateState
FD_SET FD_SET
FILE FILE