Re: Precompile SQL functions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Precompile SQL functions
Date: 2003-03-08 04:25:19
Message-ID: 200303080425.h284PJ716930@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Just checking for TODO list. Thanks.

---------------------------------------------------------------------------

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Do we precompile SQL functions yet?
>
> As of CVS tip, we can inline SQL functions that are simple "SELECT
> expression" cases; and it's always been true that SQL function queries
> are planned only once per outer query. I don't believe there's any
> cross-query caching of SQL function plans, however.
>
> regards, tom lane
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-03-08 05:26:45 Re: regression failure in CVS HEAD
Previous Message Tom Lane 2003-03-08 04:24:15 Re: Precompile SQL functions