Re: [PATCH] Change simple_heap_insert() to a macro

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Change simple_heap_insert() to a macro
Дата
Msg-id 2e0e9725-607b-abdf-b809-3b9265b8d581@2ndquadrant.com
обсуждение исходный текст
Ответ на Re[2]: [PATCH] Change simple_heap_insert() to a macro  (Andrey Klychkov <aaklychkov@mail.ru>)
Список pgsql-hackers
On 12/10/2018 12:09, Andrey Klychkov wrote:
> I don't see any reasons against to use the proposed macro instead of
> this function.

Macros are weird and should be avoided if possible.  If we were to do
this, it should be an inline function, I think.  But I think it's not
useful here.

I think there have been enough votes against this that I'll close this
CF item.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: INSTALL file
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: WIP Patch: Add a function that returns binary JSONB as a bytea