pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Mark Lewis <mark.lewis@mir3.com>
Cc: Koth, Christian \(DWBI\) <Christian.Koth@smiths-heimann.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Using ON_ERROR_ROLLBACK functionality in JDBC
Date: Fri, 28 Jul 2006 11:23:56 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net> (raw)
In-Reply-To: <1154102281.1634.576.camel@archimedes>
References: <F5F602C218633C419C7BCA6CDDC6E90A02445678@COSSMGMBX04.EMAIL.CORP.TLD>
<Pine.BSO.4.63.0607280353300.21507@leary2.csoft.net>
<1154102281.1634.576.camel@archimedes>
On Fri, 28 Jul 2006, Mark Lewis wrote:
> Does the current savepoint implementation in the driver require a
> separate round-trip?
Yes. Creating, rolling back to, or releasing a savepoint each currently
make a server round-trip. If you're suggesting queueing these up so that
it sends these with queries instead of alone, I think that's something the
driver could do if it was creating savepoints itself, but would be tougher
to do for user savepoints. For user savepoints I think you need to get
feedback to the caller immediately upon command execution rather than with
a later query. Consider something like trying to release an invalid
savepoint. You need to tell the user immediately.
Kris Jurka
view thread (6+ messages)
Message-ID: <Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net> Permalink: ../Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net/ Also on: postgresql.org/message-id/Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net ·
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: books@ejurka.com, mark.lewis@mir3.com, Christian.Koth@smiths-heimann.com Subject: Re: Using ON_ERROR_ROLLBACK functionality in JDBC In-Reply-To: <Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net> References: <F5F602C218633C419C7BCA6CDDC6E90A02445678@COSSMGMBX04.EMAIL.CORP.TLD> <Pine.BSO.4.63.0607280353300.21507@leary2.csoft.net> <1154102281.1634.576.camel@archimedes> <Pine.BSO.4.63.0607281119360.11376@leary2.csoft.net> * 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