Fix incorrect calculation of LSN in bytes.
authorTatsuo Ishii <ishii at sraoss.co.jp>
Thu, 5 May 2011 02:39:14 +0000 (02:39 +0000)
committerTatsuo Ishii <ishii at sraoss.co.jp>
Thu, 5 May 2011 02:39:14 +0000 (02:39 +0000)
commit0535317dc16c0b46b104db166a1e02e55e410cfc
tree74ea2a8a194962b3b361851505f293afa1fac718
parenta628fddfb845597c12bfedd3dc9cb36532115625
Fix incorrect calculation of LSN in bytes.

Change pg_last_xlog_receive_location() to
pg_last_xlog_replay_location() because the latter respects actually
replayed location which will give less chance for clients to have
stale data in standby.

Fix suggested by Anton Yuzhaninov.
pool_worker_child.c