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

From: "Jonathan Ellis" <jellis(at)advocast(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: how do you call one pltcl function from another?
Date: 2000-11-08 16:21:14
Message-ID: 097b01c0499f$ea777960$0d00a8c0@dsl.inconnect.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Randy Jonasz 2000-11-08 16:35:02 SQL
Previous Message Edward Q. Bridges 2000-11-08 15:03:30 Re: default timestamp and default autoinc