Re: Unimpressed with pg_attribute_always_inline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unimpressed with pg_attribute_always_inline
Дата
Msg-id 22772.1515459407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unimpressed with pg_attribute_always_inline  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: Unimpressed with pg_attribute_always_inline
Список pgsql-hackers
Peter Geoghegan <pg@bowt.ie> writes:
> Anyway, ISTM that it should be possible to make
> pg_attribute_always_inline have no effect in typical debug builds.
> Wouldn't that make everyone happy?

That would improve matters, but do we have access to the -O switch
level as an #if condition?  The use-case I'm generally worried about
involves recompiling individual files at -O0, with something like
    make PROFILE=-O0 nodeHashjoin.o
so trying to, say, get configure to adjust the macro isn't really going
to help.

The other half of the problem is the warnings, but I think Thomas'
patch would alleviate that.

            regards, tom lane


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Unimpressed with pg_attribute_always_inline
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Transactions involving multiple postgres foreign servers