Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 26ED99FB324 for ; Mon, 21 May 2007 13:27:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 64501-03 for ; Mon, 21 May 2007 13:27:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id AC24D9FB54B for ; Mon, 21 May 2007 13:27:49 -0300 (ADT) Received: (qmail 12927 invoked by uid 1112); 21 May 2007 16:27:48 -0000 Date: Mon, 21 May 2007 12:27:48 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Vincent Lasmarias cc: pgsql-jdbc@postgresql.org Subject: Re: Insert (or update) to a partitioned table returns 0 rows updated In-Reply-To: <228537.48279.qm@web411.biz.mail.mud.yahoo.com> Message-ID: References: <228537.48279.qm@web411.biz.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/52 X-Sequence-Number: 17042 On Thu, 17 May 2007, Vincent Lasmarias wrote: > When I insert to (or update) the master table of > partitioned tables, the method's returning 0 (which > indicates that 0 rows are updated). I then checked the > DB and verified that it actually did successfully > insert one entry. My guess for this behavior is that > it's because the updated table is the child table and > not the master table. Is that expected? > Yes. See http://www.postgresql.org/docs/8.2/static/rules-status.html Kris Jurka