Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UAKNa-0000wC-Rh for pgsql-jdbc@arkaria.postgresql.org; Tue, 26 Feb 2013 13:15:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UAKNa-0003m7-2u for pgsql-jdbc@arkaria.postgresql.org; Tue, 26 Feb 2013 13:15:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UAKNY-0003lz-81 for pgsql-jdbc@postgresql.org; Tue, 26 Feb 2013 13:15:32 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UAKNP-0000vA-NN for pgsql-jdbc@postgresql.org; Tue, 26 Feb 2013 13:15:30 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1QDFLwA015092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 26 Feb 2013 08:15:21 -0500 Received: from [10.32.224.229] (dhcp-1-229.lcy.redhat.com [10.32.224.229]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r1QDFKeo012706 for ; Tue, 26 Feb 2013 08:15:21 -0500 Message-ID: <512CB568.70709@redhat.com> Date: Tue, 26 Feb 2013 13:15:20 +0000 From: Jeremy Whiting User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: executeUpdate API contract. Return value equals 0. X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Pg-Spam-Score: -6.2 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi, I have seen there have been conversations about the returned value from executeUpdate when using partitioned tables. This thread places the issue in the postgres-server court: http://www.postgresql.org/message-id/013901c5fad9$1c18c600$ca78a8c0@yawin.yesasia.com and another coversation on the pgsql-bugs mailing list that seems to bat the problem back at the pgjdbc driver :) I have written a test case for the driver and made it available on GitHub. It is compatible with the current testsuit. It is there for you to consider it's merits and use it if considered useful. I would like to think it gives this issue visibility. https://github.com/whitingjr/pgjdbc/tree/partitioned_table_test Is the best way to progress this issue is to raise it again on pgsql-bugs list ? Regards, Jeremy -- Jeremy Whiting Senior Software Engineer, Middleware Performance Team Red Hat ------------------------------------------------------------ Registered Address: Red Hat UK Ltd, 64 Baker Street, 4th Floor, London. W1U 7DF. United Kingdom. Registered in England and Wales under Company Registration No. 03798903. Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parson (USA), Charlie Peters (USA) -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc