On Tue, 2006-05-02 at 15:01 -0400, Alvaro Herrera wrote:
> Just noticed a typo in newly added ginxlog.c.  I don't have line
> numbers, but in ginRedoSplit() it reads:
> 
>       PageSetLSN(rpage, lsn);
>       PageSetTLI(lpage, ThisTimeLineID);
>       MarkBufferDirty(rbuffer);
> 
>       PageSetLSN(lpage, lsn);
>       PageSetTLI(lpage, ThisTimeLineID);
>       MarkBufferDirty(lbuffer);
> 
> 
> Notice the first call to PageSetTLI should be
> 
>       PageSetTLI(rpage, ThisTimeLineID);
> 

Well spotted. We'd have not corrected that until someone's db failed.

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to