rules in other languages

Started by Tom Jenkinsalmost 24 years ago2 messagesgeneral
Jump to latest
#1Tom Jenkins
tjenkins@devis.com

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

#2Jan Wieck
JanWieck@Yahoo.com
In reply to: Tom Jenkins (#1)
Re: rules in other languages

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 #