Re: Typo in ginxlog.c

Поиск
Список
Период
Сортировка
Искать
От
Simon Riggs
Тема
Re: Typo in ginxlog.c
Дата
в 04:47:04
Msg-id
1146728814.449.225.camel@localhost.localdomain
Ответ на
Typo in ginxlog.c (Alvaro Herrera)
Список
Дерево обсуждения
Typo in ginxlog.c Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Typo in ginxlog.c Simon Riggs <simon@2ndquadrant.com>
Re: Typo in ginxlog.c "Jim C. Nasby" <jnasby@pervasive.com>
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


В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Martijn van Oosterhout
Дата:
FAQ