folder:lk/lk date:yesterday..

Поиск
Список
Период
Сортировка
От Andres Freund
Тема folder:lk/lk date:yesterday..
Дата
Msg-id 20140430153927.GC30324@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: folder:lk/lk date:yesterday..  (Andres Freund <andres@2ndquadrant.com>)
Re: folder:lk/lk date:yesterday..  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
Hi,

Coverity flagged a couple of issues that seem to worth addressing by
changing the code instead of ignoring them:

01) heap_xlog_update() looks to coverity as if it could trigger a NULL   pointer dereference. That's because it thinks
thatoldtup.t_data is   NULL if XLR_BKP_BLOCK(0) while reconstructing incremental   tuples. That fortunately can't
happenas incremental updates are   only performed if the tuples are on the same page.   Add an Assert().
 
02) Be a bit more consistent in what type to use for a size   variable. Inconsequential, but more consistent.
03) Don't leak memory after connection aborts in pg_recvlogical.
04) Use a sensible parameter for memset() when randomizing memory in   reorderbuffer. Inconsequential.

Could somebody please pick these up?

I have to say, I am not particularly happy with the complexity of the
control flow in heap_xlog_update() :(.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Rajmohan C
Дата:
Сообщение: hooks not working in postgresql 9.3 (building from source)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: folder:lk/lk date:yesterday..