Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoxBM-0004Ds-AY for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Dec 2013 15:19:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VoxBL-0000RF-Qy for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Dec 2013 15:19:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoxBL-0000R9-9B for pgsql-bugs@postgresql.org; Fri, 06 Dec 2013 15:19:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoxBE-0003Nv-Pv for pgsql-bugs@postgresql.org; Fri, 06 Dec 2013 15:19:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id rB6FIxel010194; Fri, 6 Dec 2013 10:18:59 -0500 From: Tom Lane To: jheinz@zeitwerk.de cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8661: Update on all rows in table fails In-reply-to: References: Comments: In-reply-to jheinz@zeitwerk.de message dated "Fri, 06 Dec 2013 13:43:33 +0000" Date: Fri, 06 Dec 2013 10:18:59 -0500 Message-ID: <10193.1386343139@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org jheinz@zeitwerk.de writes: > When we want to update all rows in one table, the sql executes, but didn't > update all rows: You've not shown us your trigger functions, but a reasonable guess would be that one of the BEFORE UPDATE triggers is preventing some updates (by returning NULL, or perhaps changing the row-to-be-stored). regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs