Re: rules in other languages

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Tom Jenkins <tjenkins(at)devis(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: rules in other languages
Date: 2002-06-19 13:15:54
Message-ID: 3D10840A.9C5A5AC2@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-06-19 13:21:48 Re: Pg 7.2B5 -> 7.2.1
Previous Message Tom Lane 2002-06-19 12:57:24 Re: CAST(null as date)...