Re: Some memory allocations in gin fastupdate code are a bit brain dead

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Some memory allocations in gin fastupdate code are a bit brain dead
Дата
Msg-id CAKJS1f-drmq7rPcF-NMgGMxbGtBZPsZeJ=SEFLHXyJqmViqW+A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Some memory allocations in gin fastupdate code are a bit brain dead  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 20 Dec 2018 at 05:44, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I don't think this is quite bulletproof against overflow, especially
> in view of the rather careless mixing of int32 and uint32 variables
> that exists here.  The easiest way to make it bulletproof is to add
> an explicit test, so I did that and pushed it.

Thanks for tidying that up and for pushing.


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


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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Ordered Partitioned Table Scans
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Why are we PageInit'ing buffers in RelationAddExtraBlocks()?