Re: warn_unused_results

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: warn_unused_results
Дата
Msg-id b49372e0-e951-32c5-03db-78a7fcbf0f1e@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: warn_unused_results  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2020-11-10 04:34, Michael Paquier wrote:
>>> I am not sure
>>> about the addition of repalloc(), as it is quite obvious that one has
>>> to use its result.  Lists are fine, these are proper to PG internals
>>> and beginners tend to be easily confused in the way to use them.
>> realloc() is listed in the GCC documentation as the reason this option
>> exists, and glibc tags its realloc() with this attribute, so doing the same
>> for repalloc() seems sensible.
> Good point.

committed

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/



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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Strange GiST logic leading to uninitialized memory access in pg_trgm gist code
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Clean up optional rules in grammar