Tables are not being updated Properly through Trigger

From: "Venkatesh Krishnamurthy" <venkatesh(dot)krishnamurthy(at)valtech(dot)co(dot)in>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Tables are not being updated Properly through Trigger
Date: 2005-08-15 12:37:23
Message-ID: 407594B13C4D1D479215D7225A4A99B949702D@INBLR-EX01.valtechindia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2005-08-15 14:02:34 Re: Parentheses in FROM clause and evaluation order.
Previous Message Richard Huxton 2005-08-15 08:24:38 Re: catch an 'update where false' ?