Re: Precompile SQL functions

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

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-03-08 04:25:19 Re: Precompile SQL functions
Previous Message Christopher Kings-Lynne 2003-03-08 04:09:01 Re: [GENERAL] problems with dropped columns