pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Carlos Correia <carlos@m16e.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SET AUTOCOMMIT TO OFF no longer supported
Date: Sat, 04 Feb 2006 14:29:23 -0500
Message-ID: <20785.1139081363@sss.pgh.pa.us> (raw)
In-Reply-To: <43E4FD44.7060906@m16e.com>
References: <43E4F5A6.2090801@m16e.com>
	<20615.1139079939@sss.pgh.pa.us>
	<43E4FD44.7060906@m16e.com>

Carlos Correia <carlos@m16e.com> writes:
> Tom Lane escreveu:
> | I think you need a newer JDBC driver.  (If the app itself, rather than
> | the driver, is trying to issue this command then the app is so broken
> | it doesn't deserve to live.)

> newer then this:
> http://jdbc.postgresql.org/download/postgresql-8.1-404.jdbc3.jar?

No, that driver is plenty new enough to know not to do this.  It's the
app that's broken, then --- it has no business messing with SET
AUTOCOMMIT rather than using the JDBC-spec methods to control
transaction boundaries.

> | It might have worked with 7.3, but 7.4 would give this same error message.

> Well, as I said before, it's been working perfectly from several years
> with 7.4.

Interesting.  Maybe the app is coded to use SET AUTOCOMMIT only with 7.3
(which is the *only* PG release series that ever had this command),
but its version test is broken so that it tries to use it with 8.*?

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <20785.1139081363@sss.pgh.pa.us>
Permalink:  ../20785.1139081363@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20785.1139081363@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, carlos@m16e.com
  Subject: Re: SET AUTOCOMMIT TO OFF no longer supported
  In-Reply-To: <20785.1139081363@sss.pgh.pa.us>
  References: <43E4F5A6.2090801@m16e.com> <20615.1139079939@sss.pgh.pa.us> <43E4FD44.7060906@m16e.com> <20785.1139081363@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