Re: how to call a TCL function from within a plpgsql trigger? - Mailing list pgsql-general

From Ian Harding
Subject Re: how to call a TCL function from within a plpgsql trigger?
Date
Msg-id 3F55A1E6.2070702@tpchd.org
Whole thread Raw
In response to how to call a TCL function from within a plpgsql trigger?  (Josué Maldonado <josue@lamundial.hn>)
Responses Re: how to call a TCL function from within a plpgsql trigger?
List pgsql-general
A tcl function is just like any other, you can call it from within a
plpgsql trigger function  in the same way you would call a built-in, or
any other function.  Having said that, I am not sure what the exact
plpgsql options are besides "SELECT myfunction(' 'foo' ', ' 'bar' ')
...." and don't know syntax for storing the returned value in a
variable.  I'm a one-trick pony.

Josué Maldonado wrote:

> Hi list,
>
> That's the question, anyone knows a way to do that?
>
> Thanks in advance,
>
> Josue Maldonado.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if
> your
>      joining column's datatypes do not match




pgsql-general by date:

Previous
From: Donald Formiga Leite Junior
Date:
Subject: Inquiry From Form [pgsql]
Next
From: Ian Harding
Date:
Subject: Re: Access to an element of array NEW in TCL