Re: Question about simple function folding optimization

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about simple function folding optimization
Date: 2003-04-09 17:24:14
Message-ID: 8628.1049909054@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> But I wonder whether any better answer is possible. I don't want to
>> give up on the inlining optimization --- anyone see another fix?

> Include an option for function definitions to not allow the function
> being defined to be inlined.

Seems pretty ugly. I was wondering how much it would cost to run the
index's function definition through the inliner before comparing ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message cbbrowne 2003-04-09 17:53:15 Re: Anyone working on better transaction locking?
Previous Message Andrew Sullivan 2003-04-09 17:09:26 Re: Anyone working on better transaction locking?