On Thu, 10 Jul 2003, adivi wrote:
> hi,
>
> can trigger proceedures ( procedures to be executed from within a trigger )
> not be written in sql.
>
> i was looking for examples and can find proceedures in 'c' only.
they can be written in pl/pgsql for sure, as I've written a few. :-)
Here's the section in the developer docs on triggers in plpgsql:
http://developer.postgresql.org/docs/postgres/plpgsql-trigger.html