Joe,

> Yes, I believe so (well, actually the optimizer). An inlined SQL 
> function ends up behaving like a macro that expands at run time and is 
> therefore quite fast -- no function call overhead at all.

... but only in 7.4.   In 7.2 and I think in 7.3 this was not implemented.

While we're on the topic, anyone know any good ways to speed up EXECUTE 
statements in PL/pgSQL functions?

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to