Thread: Strange trigger behaviour

Strange trigger behaviour

From
"P.V. Subramanian"
Date:
Hi

I have a trigger function (C shared library) thats supposed to get called
AFTER an INSERT.

The called function needs to read the record that was just added (which
resulted in the function call)

However, this function doesn't seem to see the latest record added. Its as
if the INSERT never completed, during the life of the function.

Of course, a SELECT * shows that the record did get added.

And the function sees all the other older records in the table.

What should I do?

(And, why dont my elog notices not show up on the screen? That would have
helped me debug a bit)

Thanks in advance

PVS



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp