Re: Costs estimates for (inline SQL) functions ...

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Neil Conway <neilc(at)samurai(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Hans-Juergen Schoenig <postgres(at)cybertec(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Costs estimates for (inline SQL) functions ...
Date: 2006-08-24 16:38:32
Message-ID: 200608241638.k7OGcX329525@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jim C. Nasby wrote:
> On Sun, Aug 20, 2006 at 10:56:12PM -0700, Neil Conway wrote:
> > On Mon, 2006-08-21 at 07:31 +0200, Hans-Juergen Schoenig wrote:
> > > CREATE OR REPLACE FUNCTION xy() RETURNS SETOF record AS $$
> > > SELECT relname::text, relpages::int4
> > > FROM pg_class;
> > > $$ LANGUAGE SQL IMMUTABLE;
> >
> > > As far as i remember inlined SQL code has been implemented into the
> > > planner around 7.4.
> >
> > We don't currently inline set-returning functions. This has been on my
> > TODO list for a while, but I haven't found the cycles for it yet (of
> > course, if anyone's interested in fixing this, don't let my idleness
> > stop you -- I would think it shouldn't be too difficult).
>
> We should put this on the project's TODO...

Done.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew J. Kopciuch 2006-08-24 16:58:48 Re: tsvector/tsearch equality and/or portability issue issue ?
Previous Message Stefan Kaltenbrunner 2006-08-24 16:34:58 tsvector/tsearch equality and/or portability issue issue ?