Tables are not being updated properly through Trigger - Mailing list pgsql-novice

From Venkatesh Krishnamurthy
Subject Tables are not being updated properly through Trigger
Date
Msg-id 407594B13C4D1D479215D7225A4A99B949702F@INBLR-EX01.valtechindia.com
Whole thread Raw
Responses Re: Tables are not being updated properly through Trigger
List pgsql-novice

We have written a trigger on insertion which is supposed to update 3 tables with new data.  We are seeing a weird thing happening with Postgres, i.e.  If we have 4 records to be updated on insertion trigger, postgres updates the first 3 records in the 3 tables properly, and when it comes to final record, it is updating only the first 2 tables in sequence and is skipping the 3rd table.  So, we are ending up with the improper data. Any body has come across such an issue earlier or can anybody tell us whats happening here ?

Thanks,

Venkatesh

pgsql-novice by date:

Previous
From: "rbradley"
Date:
Subject: Intsall 8.03 on Redhat ES 3
Next
From: Oliver Kullmann
Date:
Subject: how to rename an unnamed uniqueness constraint?