Yes you can make a procedure call in a trigger function. Example
Trigger block
{ PERFORM Procedure();
}
Regards.
Ram
----- Original Message -----
From: "Scott Marlowe" <scott.marlowe@gmail.com>
To: "Doug Pisarek" <dgp@strata-group.com>
Cc: <pgsql-sql@postgresql.org>
Sent: Thursday, August 20, 2009 9:31 AM
Subject: Re: [SQL] Call Procedure From Trigger Function
> On Wed, Aug 19, 2009 at 3:53 PM, Doug Pisarek<dgp@strata-group.com> wrote:
>> I am in the process of coverting an Oracle 10.2.0.3 database to
>> Postgresql
>> 8.3. I have a number of triggers in Oracle that make a call to packages.
>> I know I will need to re-write the Oracle packages to postgres functions.
>> The issue which I have can I make a procedure call from inside a postgres
>> trigger function?
>
> Yep
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>