[Pljava-dev] Question regarding triggers and data visibility

From: rakesh at rakeshv(dot)org (Rakesh Vidyadharan)
To:
Subject: [Pljava-dev] Question regarding triggers and data visibility
Date: 2005-11-11 22:07:28
Message-ID: FE106E7B-912A-4846-9993-0953F3786954@rakeshv.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pljava-dev


On Nov 11, 2005, at 3:57 PM, Burtenshaw, John J. wrote:

> Thanks for the quick reply Rakesh. It turns out I was not using
> transaction blocks (i.e. allowing ?autocommit?) so I just tried the
> insert statement in a Begin/commit block and it did not make a
> difference. Any other ideas as to what could cause this strange
> phenomena?
I believe the problem is caused by the fact that the message is sent
from a trigger. If I am not mistaken, the database modification
would not have been committed until the trigger returns successfully,
at which point the transaction would have been committed. Does the
trigger just send a message, or does it wait for a response?

Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20051111/774977a7/attachment.html>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Rakesh Vidyadharan 2005-11-11 22:12:11 [Pljava-dev] Question regarding triggers and data visibility
Previous Message Burtenshaw, John J. 2005-11-11 21:57:32 [Pljava-dev] Question regarding triggers and data visibility