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 C0A2CD1B181 for ; Fri, 23 Jul 2004 17:26:14 -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 16043-02 for ; Fri, 23 Jul 2004 20:26:13 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5A75BD1B179 for ; Fri, 23 Jul 2004 17:26:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6NKQBSV027730; Fri, 23 Jul 2004 16:26:12 -0400 (EDT) To: Yi LIN Cc: pgsql-jdbc@postgresql.org Subject: Re: conflict txns in serialization isolation In-reply-to: References: Comments: In-reply-to Yi LIN message dated "Fri, 23 Jul 2004 15:46:13 -0400" Date: Fri, 23 Jul 2004 16:26:11 -0400 Message-ID: <27729.1090614371@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Level: * X-Archive-Number: 200407/272 X-Sequence-Number: 10656 Yi LIN writes: > Does anyone have the same problem as I? I am using postgresql7.2 Nope, not even in 7.2. I kinda suspect that you are getting confused by JDBC autocommit behavior and are having transactions commit when you thought they were still open. But without a complete example it's only speculation. Your first gripe might also be explained by supposing that the transactions are actually in read committed mode, and not serializable mode at all. regards, tom lane