X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 07809528BB for ; Tue, 7 Jun 2005 16:55:19 -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 49597-08 for ; Tue, 7 Jun 2005 19:55:13 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6439352849 for ; Tue, 7 Jun 2005 16:55:07 -0300 (ADT) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Dfk5Y-0005Ly-O6 for pgsql-jdbc@postgresql.org; Tue, 07 Jun 2005 21:50:16 +0200 Received: from cracatoa.sadig.com ([200.102.76.237]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2005 21:50:16 +0200 Received: from fh by cracatoa.sadig.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2005 21:50:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Fernando Hartmann Subject: Num of returned ROWS Date: Tue, 07 Jun 2005 16:41:13 -0300 Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cracatoa.sadig.com User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/30 X-Sequence-Number: 12992 I'm using Postgres 8.0.3 and JDBC build 311 (tried 400 too) and using executeUpdate to send the following command to DB: set datestyle to ISO,DMY; create table table1 as select F1, sum(F10) from table where F1 between '1/1/2001' and '31/12/2004' group by F1; select count(*) from table1 But the executeUpdate always return 0, even when the cont(*) return a number other than 0. Any ideas ?