pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Cédric Coulon <cedric.coulon@lina.univ-nantes.fr>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Retrieve the postgres transaction id
Date: Wed, 12 May 2004 11:39:38 +1200
Message-ID: <40A1643A.3010308@opencloud.com> (raw)
In-Reply-To: <40A0F355.6060507@lina.univ-nantes.fr>
References: <40A0CFF6.502@lina.univ-nantes.fr>
	<40A0E053.4090308@opencloud.com>
	<10080.1084288065@sss.pgh.pa.us>
	<40A0F355.6060507@lina.univ-nantes.fr>

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



view thread (7+ messages)  latest in thread

Message-ID: <40A1643A.3010308@opencloud.com>
Permalink:  ../40A1643A.3010308@opencloud.com/
Also on:    postgresql.org/message-id/40A1643A.3010308@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, cedric.coulon@lina.univ-nantes.fr
  Subject: Re: Retrieve the postgres transaction id
  In-Reply-To: <40A1643A.3010308@opencloud.com>
  References: <40A0CFF6.502@lina.univ-nantes.fr> <40A0E053.4090308@opencloud.com> <10080.1084288065@sss.pgh.pa.us> <40A0F355.6060507@lina.univ-nantes.fr> <40A1643A.3010308@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox