rules in other languages

Поиск
Список
Период
Сортировка
Искать

rules in other languages

От:
Tom 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


Re: rules in other languages

От:
Jan Wieck <JanWieck@Yahoo.com>
Дата:
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 #
FAQ