agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Trigger
Date: Tue, 11 Jan 2005 12:06:47 +0530
Message-ID: <5F4ED4205E00D6119BFE009027DE39090793EFF8@MLSW00103> (raw)

Hi,
Now I am having a basic doubt. The trigger is after insert trigger for each
row. When the calling function fails, there is no record inserted in the
table. Does this mean that it is rolled back when the trigger function
fails? 
Thx
rao

-----Original Message-----
From: Thomas Hallgren [mailto:thhal at mailblocks.com] 
Sent: Monday, January 10, 2005 9:34 PM
To: Nageshwar Rao
Cc: 'pljava-dev at gborg.postgresql.org'
Subject: Re: [Pljava-dev] Trigger

Nageshwar,

> When I start inserting through application not even a single record is 
> getting inserted. When I remove the trigger it starts inserting into 
> the table. Any thought on this
>
And you don't get any error messages or exceptions?

Regards,
Thomas Hallgren





view thread (4+ messages)  latest in thread

Message-ID: <5F4ED4205E00D6119BFE009027DE39090793EFF8@MLSW00103>
Permalink:  ../5F4ED4205E00D6119BFE009027DE39090793EFF8@MLSW00103/
Also on:    postgresql.org/message-id/5F4ED4205E00D6119BFE009027DE39090793EFF8@MLSW00103

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Trigger
  In-Reply-To: <5F4ED4205E00D6119BFE009027DE39090793EFF8@MLSW00103>

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

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox