summaryrefslogtreecommitdiff
path: root/src/backend/replication/walreceiverfuncs.c
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:48 -0400
commite0c8bd704c63baccc03e22112d411f7edb5f80c7 (patch)
treeafb970e585f88f732651096a15044cca603d9f4e /src/backend/replication/walreceiverfuncs.c
parentbbd5e600ff5cd23bdbb63687748d34fa02690600 (diff)
Spelling fixes
From: Josh Soref <jsoref@gmail.com>
Diffstat (limited to 'src/backend/replication/walreceiverfuncs.c')
-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 c450bb8ad6a..72876569067 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);