Thread: rules in other languages

rules in other languages

From
Tom Jenkins
Date:
hey all,
can rules be created in other languages (pl/pgsql, pl/python, etc) or do
we have to create a function (in say pl/pgsql) and call it from the
rule?

--

Tom Jenkins
Development InfoStructure
http://www.devis.com



Re: rules in other languages

From
Jan Wieck
Date:
Tom Jenkins wrote:
>
> hey all,
> can rules be created in other languages (pl/pgsql, pl/python, etc) or do
> we have to create a function (in say pl/pgsql) and call it from the
> rule?

What you want to do is

CREATE FUNCTION ...
CREATE TRIGGER ...


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #