pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yi LIN <ylin30@cs.mcgill.ca>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: conflict txns in serialization isolation
Date: Fri, 23 Jul 2004 16:26:11 -0400
Message-ID: <27729.1090614371@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.44.0407231522240.27383-100000@willy>
References: <Pine.GSO.4.44.0407231522240.27383-100000@willy>

Yi LIN <ylin30@cs.mcgill.ca> 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



view thread (7+ messages)  latest in thread

Message-ID: <27729.1090614371@sss.pgh.pa.us>
Permalink:  ../27729.1090614371@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27729.1090614371@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, ylin30@cs.mcgill.ca
  Subject: Re: conflict txns in serialization isolation
  In-Reply-To: <27729.1090614371@sss.pgh.pa.us>
  References: <Pine.GSO.4.44.0407231522240.27383-100000@willy> <27729.1090614371@sss.pgh.pa.us>

* 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