Andres Freund escribió:
> On 2013-01-18 08:24:31 +0900, Michael Paquier wrote:
> 
> > The replication delays are still here.
> 
> That one is caused by this nice bug, courtesy of yours truly:
> diff --git a/src/backend/access/transam/xlog.c 
> b/src/backend/access/transam/xlog.c
> index 90ba32e..1174493 100644
> --- a/src/backend/access/transam/xlog.c
> +++ b/src/backend/access/transam/xlog.c
> @@ -8874,7 +8874,7 @@ retry:
>     /* See if we need to retrieve more data */
>     if (readFile < 0 ||
>         (readSource == XLOG_FROM_STREAM &&
> -        receivedUpto <= targetPagePtr + reqLen))
> +        receivedUpto < targetPagePtr + reqLen))
>     {
>         if (StandbyMode)
>         {

Pushed.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to