From: | "ramasubramanian" <ramasubramanian(dot)g(at)renaissance-it(dot)com> |
---|---|
To: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, "Doug Pisarek" <dgp(at)strata-group(dot)com> |
Cc: | <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Call Procedure From Trigger Function |
Date: | 2009-08-20 04:29:20 |
Message-ID: | C6A149B8B6FC4391B85BB5B96453FD74@ramasubramanian |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Yes you can make a procedure call in a trigger function.
Example
Trigger block
{
PERFORM Procedure();
}
Regards.
Ram
----- Original Message -----
From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Doug Pisarek" <dgp(at)strata-group(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)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(at)strata-group(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jasen Betts | 2009-08-20 10:51:13 | Re: Updating one table with data from another |
Previous Message | Scott Marlowe | 2009-08-20 04:01:15 | Re: Call Procedure From Trigger Function |