Re: embedded list v2

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: embedded list v2
Дата
Msg-id 201209290142.50065.andres@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: embedded list v2  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: embedded list v2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Saturday, September 29, 2012 01:39:03 AM Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > The reason I had the header declare DEFINE_ILIST_FUNCTIONS (or rather
> > ILIST_USE_DEFINITION back then) instead of reusing USE_INLINE directly is
> > that it makes it easier to locally change a "module" to not inlining
> > which makes testing the !USE_INLINE case easier. Does anybody think this
> > is worth something? I have no strong feelings but found it convenient.
> 
> Right offhand it doesn't seem like it really gains that much even for
> that use-case.  You'd end up editing the include file either way, just
> slightly differently.
Well, with USE_INLINE you have to recompile the whole backend because you 
otherwise easily end up with strange incompatibilities between files.

Andres
-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: embedded list v2
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Generalizing range-constraint detection in clauselist_selectivity