summaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-03-14 12:57:10 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-03-14 13:45:51 -0400
commit5adec6b54dc3a813a316a3b323cfecdce00cffcb (patch)
tree5b77744235811fbb573ff3b08d8b6d7e12b52416 /src/backend/replication
parentc17a3f57ebc00615ca34a48bb17eca1ed14f8ceb (diff)
Spelling fixes
From: Josh Soref <jsoref@gmail.com>
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/walreceiverfuncs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/replication/walreceiverfuncs.c b/src/backend/replication/walreceiverfuncs.c
index f77a790fd87..741899bf46b 100644
--- a/src/backend/replication/walreceiverfuncs.c
+++ b/src/backend/replication/walreceiverfuncs.c
@@ -329,7 +329,7 @@ GetReplicationApplyDelay(void)
long secs;
int usecs;
- TimestampTz chunckReplayStartTime;
+ TimestampTz chunkReplayStartTime;
SpinLockAcquire(&walrcv->mutex);
receivePtr = walrcv->receivedUpto;
@@ -340,12 +340,12 @@ GetReplicationApplyDelay(void)
if (receivePtr == replayPtr)
return 0;
- chunckReplayStartTime = GetCurrentChunkReplayStartTime();
+ chunkReplayStartTime = GetCurrentChunkReplayStartTime();
- if (chunckReplayStartTime == 0)
+ if (chunkReplayStartTime == 0)
return -1;
- TimestampDifference(chunckReplayStartTime,
+ TimestampDifference(chunkReplayStartTime,
GetCurrentTimestamp(),
&secs, &usecs);