X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5C4A69DD55C for ; Tue, 6 Dec 2005 06:45:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83406-09 for ; Tue, 6 Dec 2005 06:45:27 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by postgresql.org (Postfix) with ESMTP id 28D599DD55B for ; Tue, 6 Dec 2005 06:45:22 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 13so8058nzn for ; Tue, 06 Dec 2005 02:45:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=VaMiwW1LzPAzcreBC7ycmfK5cbKCCicwNJoekxXJRE3h6wPxJ9C+ArJJncI480udq01ekiuR4YAHbFKSlY8lx3/6dG9JajoN5GCa3kioidPguzRILXzTBqdVHXwIAmDrq/njPhuwCWTNeKLDjkpZLk+x2CH3V7UwMhsFlkdp/p4= Received: by 10.36.220.51 with SMTP id s51mr277376nzg; Tue, 06 Dec 2005 02:45:25 -0800 (PST) Received: from itteay ( [202.147.17.195]) by mx.gmail.com with ESMTP id 14sm40415nzp.2005.12.06.02.45.24; Tue, 06 Dec 2005 02:45:25 -0800 (PST) Message-ID: <008701c5fa52$29d69c40$ca78a8c0@yawin.yesasia.com> From: "Tea Yu" To: Subject: Re: JDBC executeUpdate returns 0 for table partitioning rule insertion Date: Tue, 6 Dec 2005 18:45:21 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/21 X-Sequence-Number: 14352 Hi there, The scenario is quite simple - insert into a partitioned table in which a rule forwards the insertion into an inherited partition (Postgresql 8.1) However, JDBC returns 0 during Statement.executeUpdate(sql). It behaves normally when partition rule is removed. It applies to the following driver builds: 8.1 Build 404 (all JDBC ver) 8.2 dev Bulid 500 (all JDBC ver) Any clues? Thanks much! Tea