X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6C0D2528D1 for ; Fri, 19 Aug 2005 02:01:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21248-05 for ; Fri, 19 Aug 2005 05:01:17 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by svr1.postgresql.org (Postfix) with ESMTP id D6F2A52DCE for ; Fri, 19 Aug 2005 02:01:15 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKxQS-1E5z0E3qQz-0001iV; Fri, 19 Aug 2005 07:01:14 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1E5z1T-0002zP-00 for pgsql-sql@postgresql.org; Fri, 19 Aug 2005 07:02:31 +0200 Date: Fri, 19 Aug 2005 07:02:31 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: Tables are not being updated Properly through Trigger Message-ID: <20050819050231.GA11416@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <407594B13C4D1D479215D7225A4A99B949702D@INBLR-EX01.valtechindia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <407594B13C4D1D479215D7225A4A99B949702D@INBLR-EX01.valtechindia.com> X-DEST: 208 X-MSMail-Priority: High X-Message-Flag: Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.297 required=5 tests=[AWL=0.030, MISSING_MIMEOLE=0, X_MSMAIL_PRIORITY_HIGH=0.267] X-Spam-Level: X-Archive-Number: 200508/164 X-Sequence-Number: 22392 am 15.08.2005, um 18:07:23 +0530 mailte Venkatesh Krishnamurthy folgendes: > 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 ? Nobody can guess your problem without the source-code of your trigger an a simple example. Can you poste this on http://rafb.net/paste/ and tell us then the link? Regards, Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47212, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===