Re: [COMMITTERS] pgsql: Remove endof macro

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql: Remove endof macro
Дата
Msg-id 69deffdb-980f-9a25-73f4-ab8b5f976cd5@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Remove endof macro  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Sync function prototype with its actual definition.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: [COMMITTERS] pgsql: Fix translatable string