Re: Macro nesting hell

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Macro nesting hell
Дата
Msg-id 12977.1439429221@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Macro nesting hell  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2015-08-12 10:18:12 -0400, Tom Lane wrote:
>> Sounds reasonable to me.  If you do this, I'll see whether pademelon
>> can be adjusted to build using the minimum macro expansion buffer
>> size specified by the C standard.

> Here's the patch attached.

Looks like you need to pay more attention to the surrounding comments:
some of them still refer to the code as a macro, and I see at least one
place that explicitly mentions double-eval hazards that this presumably
removes.  (I think your previous patch re fastgetattr was also a bit weak
on the comments, btw.)
        regards, tom lane



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

Предыдущее
От: Vignesh Raghunathan
Дата:
Сообщение: Parsing tuple contents
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Test code is worth the space