Re: C function

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Vjy *EXTERN*" <vijay(at)iavian(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: C function
Date: 2008-05-14 07:14:23
Message-ID: D960CB61B694CF459DCFB4B0128514C202181F63@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vjy wrote:
> I wrote a C function that will connect to oracle and do insert.
>
> then I created a trigger that calls this C function for any
> insets/updates on TABLE A
>
> when there is a insert in table A , the C function is not called at
> all, any reason why ?

You will need to provide more information to get a useful answer.

Send the definition of the table together with all constraints,
rules and triggers and the INSERT statement that you run.

After the insert, is the new row in table A?

How did you verify that the function did not get called?

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2008-05-14 07:21:05 Re: Couple of question on functions
Previous Message Volkan YAZICI 2008-05-14 07:10:18 Re: Affected # of Rows After TRIGGER/RULE Return