1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Spelling fixes

From: Josh Soref <jsoref@gmail.com>
This commit is contained in:
Peter Eisentraut
2017-03-14 12:57:10 -04:00
parent b2ae1d6c4d
commit 28fb0f10c9
14 changed files with 22 additions and 22 deletions

View File

@@ -684,7 +684,7 @@ static bool InstallXLogFileSegment(uint32 *log, uint32 *seg, char *tmppath,
bool find_free, int *max_advance,
bool use_lock);
static int XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli,
int source, bool notexistOk);
int source, bool notfoundOk);
static int XLogFileReadAnyTLI(uint32 log, uint32 seg, int emode,
int sources);
static bool XLogPageRead(XLogRecPtr *RecPtr, int emode, bool fetching_ckpt,

View File

@@ -458,7 +458,7 @@ edge_failure(PlannerInfo *root, Gene *gene, int index, Edge *edge_table, int num
if (edge_table[i].unused_edges >= 0)
return (Gene) i;
elog(LOG, "no edge found via looking for the last ununsed point");
elog(LOG, "no edge found via looking for the last unused point");
}

View File

@@ -124,7 +124,7 @@ char *
pg_dlerror(void)
{
#ifndef HAVE_DLD_H
return "dynaloader unspported";
return "dynaloader unsupported";
#else
return dld_strerror(dld_errno);
#endif

View File

@@ -256,7 +256,7 @@ GetReplicationApplyDelay(void)
long secs;
int usecs;
TimestampTz chunckReplayStartTime;
TimestampTz chunkReplayStartTime;
SpinLockAcquire(&walrcv->mutex);
receivePtr = walrcv->receivedUpto;
@@ -267,12 +267,12 @@ GetReplicationApplyDelay(void)
if (XLByteEQ(receivePtr, replayPtr))
return 0;
chunckReplayStartTime = GetCurrentChunkReplayStartTime();
chunkReplayStartTime = GetCurrentChunkReplayStartTime();
if (chunckReplayStartTime == 0)
if (chunkReplayStartTime == 0)
return -1;
TimestampDifference(chunckReplayStartTime,
TimestampDifference(chunkReplayStartTime,
GetCurrentTimestamp(),
&secs, &usecs);

View File

@@ -8,7 +8,7 @@
!IF "$(BCB)" == ""
!MESSAGE You must edit bcc32.mak and define BCB at the top
!ERROR misssing BCB
!ERROR missing BCB
!ENDIF
!IF "$(__NMAKE__)" == ""

View File

@@ -322,10 +322,10 @@ SELECT to_tsvector('thesaurus_tst', 'one postgres one two one two three one');
'1':1,5 '12':3 '123':4 'pgsql':2
(1 row)
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbrevation SN)');
to_tsvector
-------------------------------------------------------------
'abbrev':10 'call':8 'new':4 'sn':1,9,11 'star':5 'usual':7
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbreviation SN)');
to_tsvector
--------------------------------------------------------------
'abbrevi':10 'call':8 'new':4 'sn':1,9,11 'star':5 'usual':7
(1 row)
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');

View File

@@ -119,5 +119,5 @@ ALTER TEXT SEARCH CONFIGURATION thesaurus_tst ALTER MAPPING FOR
WITH synonym, thesaurus, english_stem;
SELECT to_tsvector('thesaurus_tst', 'one postgres one two one two three one');
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbrevation SN)');
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbreviation SN)');
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');