Re: rules in other languages - Mailing list pgsql-general

From Jan Wieck
Subject Re: rules in other languages
Date
Msg-id 3D10840A.9C5A5AC2@Yahoo.com
Whole thread Raw
In response to rules in other languages  (Tom Jenkins <tjenkins@devis.com>)
List pgsql-general
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 #

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: CAST(null as date)...
Next
From: Tom Lane
Date:
Subject: Re: Pg 7.2B5 -> 7.2.1