On 9/5/17 15:10, Andres Freund wrote:
> On 2017-09-05 19:08:06 +0000, Peter Eisentraut wrote:
>> Remove endof macro
>>
>> It has not been used in a long time, and it doesn't seem safe anyway, so
>> drop it.
>
> I've no problem removing this, but why isn't it safe? It's explicitly
> allowed to compute (not dereference) the address of
> end-of-array-plus-one.
You are right. I misinterpreted some of the old commits.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services