Re: how do you call one pltcl function from another?

Jonathan Ellis <jellis@advocast.com>

From: "Jonathan Ellis" <jellis@advocast.com>
To: <pgsql-general@postgresql.org>
Date: 2000-11-08T16:21:14Z
Lists: pgsql-general
>     You need to call it via SPI like
>
>         spi_exec "select meta_class($1) as retval"
>         return $retval

What kind of performance hit is there doing this vs two plpgsql functions?
IIANM, you're creating two separate tcl interpreters this way, which seems
expensive.

-Jonathan