Re: standby apply lag on inactive servers - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: standby apply lag on inactive servers
Date
Msg-id 20200129.135258.244060982658264378.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: standby apply lag on inactive servers  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
At Tue, 28 Jan 2020 11:18:50 -0300, Alvaro Herrera <alvherre@2ndquadrant.com> wrote in 
> On 2020-Jan-27, Alvaro Herrera wrote:
> 
> > Actually looking again, getRecordTimestamp is looking pretty strange.
> > It looks much more natural by using nested switch/case blocks, as with
> > this diff.  I think the compiler does a better job this way too.
> 
> I hadn't noticed I forgot to attach the diff here :-(

Yeay, that patch bases the apply-lag patch:) And contains
XLOG_CHECKPOINT_*. But otherwise looks good to me.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: Is custom MemoryContext prohibited?
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: standby apply lag on inactive servers