Re: embedded list v2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: embedded list v2
Date
Msg-id 18107.1348876477@sss.pgh.pa.us
Whole thread Raw
In response to Re: embedded list v2  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: embedded list v2  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On Saturday, September 29, 2012 01:39:03 AM Tom Lane wrote:
>> 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.

Eh?  You would anyway, or at least recompile every .o file depending on
that header, if what you want is to inline or de-inline the functions.
There's no magic shortcut for that.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Generalizing range-constraint detection in clauselist_selectivity
Next
From: Tom Lane
Date:
Subject: Re: Generalizing range-constraint detection in clauselist_selectivity