Bruce Momjian <pgman@candle.pha.pa.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