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/