X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7F296D1D358 for ; Tue, 11 May 2004 20:40:11 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 75269-07 for ; Tue, 11 May 2004 20:39:51 -0300 (ADT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 89BDBD1CA37 for ; Tue, 11 May 2004 20:39:47 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BNgqb-0008Dg-00; Wed, 12 May 2004 11:39:41 +1200 Message-ID: <40A1643A.3010308@opencloud.com> Date: Wed, 12 May 2004 11:39:38 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?C=E9dric_Coulon?= Cc: pgsql-jdbc@postgresql.org Subject: Re: Retrieve the postgres transaction id References: <40A0CFF6.502@lina.univ-nantes.fr> <40A0E053.4090308@opencloud.com> <10080.1084288065@sss.pgh.pa.us> <40A0F355.6060507@lina.univ-nantes.fr> In-Reply-To: <40A0F355.6060507@lina.univ-nantes.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200405/61 X-Sequence-Number: 10071 Cédric Coulon wrote: > Thx for yours helps. > But Isn't there a possibility that a backend has more than one > transaction with locks? As I understand it, no. There is exactly one connection per backend, and one transaction per connection, and there is no way to change the transaction associated with a connection without committing/aborting the existing transaction. -O