Re: SPI access to PostgreSQL query plan

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Glaesemann <grzm(at)seespotcode(dot)net>
Cc: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, Cristiano Duarte <cunha17(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SPI access to PostgreSQL query plan
Date: 2007-09-18 03:35:30
Message-ID: 25075.1190086530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Glaesemann <grzm(at)seespotcode(dot)net> writes:
> AIUI, the stress is on the *can*, with a meaning of "may", right? Not
> all SQL functions can be inlined.

In particular, I think the OP was thinking of a function returning set,
which we currently don't inline at all. I believe this is doable, but
perhaps not entirely trivial. I seem to recall looking into it a year
or two ago, and hitting some roadblocks that I can't remember the
details of ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-09-18 03:36:09 Re: Open issues for HOT patch
Previous Message Tom Lane 2007-09-18 03:32:54 Re: Open issues for HOT patch