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

Поиск
Список
Период
Сортировка
От Jonathan Ellis
Тема Re: how do you call one pltcl function from another?
Дата
Msg-id 097b01c0499f$ea777960$0d00a8c0@dsl.inconnect.com
обсуждение исходный текст
Ответ на Re: how do you call one pltcl function from another?  (Jan Wieck <janwieck@Yahoo.com>)
Ответы Re: how do you call one pltcl function from another?  (Jan Wieck <janwieck@Yahoo.com>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: "Edward Q. Bridges"
Дата:
Сообщение: Re: default timestamp and default autoinc
Следующее
От: Randy Jonasz
Дата:
Сообщение: SQL