pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ramasubramanian <ramasubramanian.g@renaissance-it.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
To: Doug Pisarek <dgp@strata-group.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Call Procedure From Trigger Function
Date: Thu, 20 Aug 2009 09:59:20 +0530
Message-ID: <C6A149B8B6FC4391B85BB5B96453FD74@ramasubramanian> (raw)
References: <404990009113F448B0DB29FE65110168B2C076@sbs2003.StrataGroup.local>
	<dcc563d10908192101h73e96c0fr6131308395c47d1a@mail.gmail.com>

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
> 





view thread (3+ messages)

Message-ID: <C6A149B8B6FC4391B85BB5B96453FD74@ramasubramanian>
Permalink:  ../C6A149B8B6FC4391B85BB5B96453FD74@ramasubramanian/
Also on:    postgresql.org/message-id/C6A149B8B6FC4391B85BB5B96453FD74@ramasubramanian

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ramasubramanian.g@renaissance-it.com, scott.marlowe@gmail.com, dgp@strata-group.com
  Subject: Re: Call Procedure From Trigger Function
  In-Reply-To: <C6A149B8B6FC4391B85BB5B96453FD74@ramasubramanian>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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