1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +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);