Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 911B19FBAC7 for ; Wed, 14 Feb 2007 17:09:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 70059-09 for ; Wed, 14 Feb 2007 17:08:28 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by postgresql.org (Postfix) with ESMTP id 56DE99FBCFC for ; Wed, 14 Feb 2007 17:08:28 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so889148nfb for ; Wed, 14 Feb 2007 13:08:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=sa0BBZCQN3WKB6bwfqC7p0/vlwo44sRkVgyp5r1SFVPWvQU5j6+PGUCW6maXzG3+Pc/LOApsyDzPYhA3xSB1EjrDGqAUQF8R/j0JZFZmHEgsbNWsemj7JDF7DE+w8p6LdIfu5YsRZoybg3IQLng+OXbyDoVSd/dQaxneW8vYGnM= Received: by 10.48.242.19 with SMTP id p19mr633366nfh.1171487306890; Wed, 14 Feb 2007 13:08:26 -0800 (PST) Received: from ?192.168.1.10? ( [82.3.238.153]) by mx.google.com with ESMTP id l22sm8093984nfc.2007.02.14.13.08.22; Wed, 14 Feb 2007 13:08:24 -0800 (PST) Message-ID: <45D37A2E.9060703@enterprisedb.com> Date: Wed, 14 Feb 2007 21:07:58 +0000 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.8 (X11/20061116) MIME-Version: 1.0 To: "Blakely, Jerel \(Mission Systems\)" CC: pgsql-jdbc@postgresql.org Subject: Re: Problem with jdbc connection behavior References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.087 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_PASS X-Spam-Level: X-Archive-Number: 200702/69 X-Sequence-Number: 16625 Blakely, Jerel (Mission Systems) wrote: > The testcase code currently looks like this, I have tried rollback > already. Since commits happen after each item it didn't change anything. > ... Hmm. I can't see any apparent reason why that wouldn't work. I'd suggest setting these parameters in the server's postgresql.conf file to log all the connections and statements and commits: log_connections = on log_disconnections = on log_statement = 'all' I'm thinking there's something in your environment inhibiting commits or or something like that. > Since my other post I now have noticed a problem with the drop table > never returning. > It is a simple: stmt.executeUpdate("DROP TABLE TEMP_TABLE"); Can you elaborate? Are you executing the drop table while the test case is running, or is it just generally not returning? > I have verified these test cases against Firebird, Sybase, and Oracle > with no problems, I am beginning to think my Postgres install is cursed. Yeah, I hate it when that happens ;). Something you should be aware of is that unlike in most other DBMSs, DDL statements like CREATE/DROP TABLE are transactional in PostgreSQL. If you CREATE TABLE in one connection, it's not visible to others until commit. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com