pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: pg@fastcrypt.com
Cc: Barry Lind <blind@xythos.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: When running with autocommit false only the first BEGIN
Date: Wed, 24 Nov 2004 01:18:05 +1300
Message-ID: <41A32A7D.2010102@opencloud.com> (raw)
In-Reply-To: <41A32762.4000403@fastcrypt.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6C08C46@NSNOVPS00411.nacio.xythos.com>
	<41A30F2C.40801@opencloud.com>
	<41A32762.4000403@fastcrypt.com>

Dave Cramer wrote:
> That certainly doesn't seem acceptable. As Barry points out people will 
> really be in the dark when their code doesn't work.

There's nothing much the driver can do about it other than not using the 
new features of V3. This needs a server-side fix.

We could make BEGIN/COMMIT/ROLLBACK more visible at the (small) cost of 
an extra Parse on each execution. But you're still going to have the 
same problem with user queries once statements start using server-side 
prepare.

See http://archives.postgresql.org/pgsql-hackers/2004-05/msg01173.php 
for past discussion. I looked at fixing it briefly but didn't have time 
to put together a patch.

-O



view thread (5+ messages)  latest in thread

Message-ID: <41A32A7D.2010102@opencloud.com>
Permalink:  ../41A32A7D.2010102@opencloud.com/
Also on:    postgresql.org/message-id/41A32A7D.2010102@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, pg@fastcrypt.com, blind@xythos.com
  Subject: Re: When running with autocommit false only the first BEGIN
  In-Reply-To: <41A32A7D.2010102@opencloud.com>
  References: <03E7D3E231BB7B4A915A6581D4296CC6C08C46@NSNOVPS00411.nacio.xythos.com> <41A30F2C.40801@opencloud.com> <41A32762.4000403@fastcrypt.com> <41A32A7D.2010102@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