Commit d309acf2 authored by Robert Haas's avatar Robert Haas

Typo fixes. receivedUpto should be capitalized consistently.

parent 2c20ba1f
...@@ -45,10 +45,10 @@ to fetch more WAL (if streaming replication is configured). ...@@ -45,10 +45,10 @@ to fetch more WAL (if streaming replication is configured).
Walreceiver is a postmaster subprocess, so the startup process can't fork it Walreceiver is a postmaster subprocess, so the startup process can't fork it
directly. Instead, it sends a signal to postmaster, asking postmaster to launch directly. Instead, it sends a signal to postmaster, asking postmaster to launch
it. Before that, however, startup process fills in WalRcvData->conninfo, it. Before that, however, startup process fills in WalRcvData->conninfo,
and initializes the starting point in WalRcvData->receivedUpTo. and initializes the starting point in WalRcvData->receivedUpto.
As walreceiver receives WAL from the master server, and writes and flushes As walreceiver receives WAL from the master server, and writes and flushes
it to disk (in pg_xlog), it updates WalRcvData->receivedUpTo. Startup process it to disk (in pg_xlog), it updates WalRcvData->receivedUpto. Startup process
polls that to know how far it can proceed with WAL replay. polls that to know how far it can proceed with WAL replay.
Walsender IPC Walsender IPC
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* in the primary server), and then keeps receiving XLOG records and * in the primary server), and then keeps receiving XLOG records and
* writing them to the disk as long as the connection is alive. As XLOG * writing them to the disk as long as the connection is alive. As XLOG
* records are received and flushed to disk, it updates the * records are received and flushed to disk, it updates the
* WalRcv->receivedUpTo variable in shared memory, to inform the startup * WalRcv->receivedUpto variable in shared memory, to inform the startup
* process of how far it can proceed with XLOG replay. * process of how far it can proceed with XLOG replay.
* *
* Normal termination is by SIGTERM, which instructs the walreceiver to * Normal termination is by SIGTERM, which instructs the walreceiver to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment