pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Giampaolo Tomassoni <g.tomassoni@libero.it>
To: pgsql-jdbc@postgresql.org
Subject: Re: Serializable transactions and SQLException
Date: Fri, 29 Oct 2004 10:37:36 +0200
Message-ID: <200410291037.36833.g.tomassoni@libero.it> (raw)
In-Reply-To: <Pine.BSO.4.56.0410282111470.19094@leary.csoft.net>
References: <200410281711.21440.g.tomassoni@libero.it>
	<Pine.BSO.4.56.0410282111470.19094@leary.csoft.net>

On Friday 29 October 2004 04:19, you wrote:
>
> ... omissis...
>
> If you are connected to a >= 7.4 server getSQLState will have a value for
> this error.  The best way to identify it and make sure you code works on
> other database platforms is to actually write a small test case to
> generate this error and grab the error code.  PG will always return
> the same error code, but other databases may not use the same one and the
> best way to find out is actually testing.

Thank you everybody for the prompt help.

I see your replies suggest to switch to a 7.4 or earlier version. I have 7.3.2 
in my production environment. What is supposed to solve a >=7.4 server in 
relation to serializable isolation?

Thanks again,

	Giampaolo Tomassoni




view thread (6+ messages)  latest in thread

Message-ID: <200410291037.36833.g.tomassoni@libero.it>
Permalink:  ../200410291037.36833.g.tomassoni@libero.it/
Also on:    postgresql.org/message-id/200410291037.36833.g.tomassoni@libero.it

 · 

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: g.tomassoni@libero.it
  Subject: Re: Serializable transactions and SQLException
  In-Reply-To: <200410291037.36833.g.tomassoni@libero.it>
  References: <200410281711.21440.g.tomassoni@libero.it> <Pine.BSO.4.56.0410282111470.19094@leary.csoft.net> <200410291037.36833.g.tomassoni@libero.it>

* 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