Typo in ginxlog.c

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Typo in ginxlog.c
Дата
Msg-id 20060502190106.GA17285@surnet.cl
обсуждение исходный текст
Ответы Re: Typo in ginxlog.c  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
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);

I wonder why don't we have a macro or function to do both things in one
pass?

-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/CTMLCN8V17R4
"¿Qué importan los años?  Lo que realmente importa es comprobar que
a fin de cuentas la mejor edad de la vida es estar vivo"  (Mafalda)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Larry Rosenman"
Дата:
Сообщение: Re: patch review, please: Autovacuum/Vacuum times via stats.
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: patch review, please: Autovacuum/Vacuum times via stats.