Re: Typo in ginxlog.c

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Typo in ginxlog.c
Дата
Msg-id 1146728814.449.225.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Typo in ginxlog.c  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Typo in ginxlog.c
Список pgsql-hackers
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
Дата:
Сообщение: Re: Rethinking locking for database create/drop vs
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Semi-undocumented functions in libpq