Skip site navigation (1) Skip section navigation (2)

Re: embedded list v2

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Subject: Re: embedded list v2
Date: 2012-09-29 00:15:43
Message-ID: 201209290215.43447.andres@2ndquadrant.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Saturday, September 29, 2012 01:54:37 AM Tom Lane wrote:
> Andres Freund <andres(at)2ndquadrant(dot)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.
Well, --enable-depend copes with changing that in the header fine. As long as 
its only used in a low number of files thats shorter than a full rebuild ;) 
Anyway, changed.

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


In response to

pgsql-hackers by date

Next:From: Andres FreundDate: 2012-09-29 00:19:23
Subject: Re: embedded list v3
Previous:From: Andres FreundDate: 2012-09-29 00:14:42
Subject: Re: embedded list v3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group