pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedCall Procedure From Trigger Function
3+ messages / 3 participants
[nested] [flat]
* Call Procedure From Trigger Function
@ 2009-08-19 21:53 Doug Pisarek <dgp@strata-group.com>
0 siblings, 1 reply; 3+ messages in thread
From: Doug Pisarek @ 2009-08-19 21:53 UTC (permalink / raw)
To: pgsql-sql
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?
Thanks,
Doug P.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Call Procedure From Trigger Function
@ 2009-08-20 04:01 Scott Marlowe <scott.marlowe@gmail.com>
parent: Doug Pisarek <dgp@strata-group.com>
0 siblings, 1 reply; 3+ messages in thread
From: Scott Marlowe @ 2009-08-20 04:01 UTC (permalink / raw)
To: Doug Pisarek <dgp@strata-group.com>; +Cc: pgsql-sql
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Call Procedure From Trigger Function
@ 2009-08-20 04:29 ramasubramanian <ramasubramanian.g@renaissance-it.com>
parent: Scott Marlowe <scott.marlowe@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: ramasubramanian @ 2009-08-20 04:29 UTC (permalink / raw)
To: Scott Marlowe <scott.marlowe@gmail.com>; Doug Pisarek <dgp@strata-group.com>; +Cc: 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.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
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2009-08-20 04:29 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-08-19 21:53 Call Procedure From Trigger Function Doug Pisarek <dgp@strata-group.com>
2009-08-20 04:01 ` Scott Marlowe <scott.marlowe@gmail.com>
2009-08-20 04:29 ` ramasubramanian <ramasubramanian.g@renaissance-it.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox