From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Mark Lewis <mark.lewis@mir3.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [Fwd: FAQ update about transaction interleaving]
Date: Fri, 10 Nov 2006 16:25:19 +0000
Message-ID: <4554A7EF.1080305@enterprisedb.com> (raw)
In-Reply-To: <1163169381.13226.54.camel@archimedes>
References: <455471B0.6050606@enterprisedb.com>
<1163169381.13226.54.camel@archimedes>
Mark Lewis wrote:
> I think that the preferred format for FAQ updates is as a patch to the
>
> www project's src/documentation/content/xdocs/documentation/faq.xml file
> from CVS.
Ok, thanks. Here you go.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.comAttachments:xa-faq-update.diff (text/plain, 2.3K) download
? xa-faq-update.diff
Index: src/documentation/content/xdocs/documentation/faq.xml
===================================================================
RCS file: /usr/local/cvsroot/pgjdbc/www/src/documentation/content/xdocs/documentation/faq.xml,v
retrieving revision 1.3
diff -c -r1.3 faq.xml
*** src/documentation/content/xdocs/documentation/faq.xml 26 Sep 2006 05:14:10 -0000 1.3
--- src/documentation/content/xdocs/documentation/faq.xml 10 Nov 2006 16:23:38 -0000
***************
*** 10,18 ****
<question>Does the driver have XA support?</question>
<answer>
<p>
! Yes, starting with the 8.1dev-403 driver XADataSource support
! is available. It is not complete in that it does not support
! transaction interleaving.
</p>
</answer>
</faq>
--- 10,49 ----
<question>Does the driver have XA support?</question>
<answer>
<p>
! Yes, starting with the 8.1dev-403 driver. However, transaction
! interleaving is not supported.
! </p>
! </answer>
! <question>What is "transaction interleaving"?</question>
! <answer>
! <p>
! Transaction interleaving means that one database connection can be
! used for multiple transactions at the same time, switching between
! the transactions.
! </p>
! <p>
! Transaction interleaving is mostly useless, but it's a required part
! of the JTA specification. Some application servers use it to allow a
! bit more concurrency without allocating a bigger jdbc connection
! pool.
! </p>
! <p>
! Few JDBC drivers support transaction interleaving properly. Some
! fake it by issuing early prepare commands, risking transaction
! integrity, some give strange error messages, some fail in other,
! subtle ways. The PostgreSQL JDBC driver does it's best to detect
! interleaving and throws a proper error message when it can't do
! what's requested.
! </p>
! <p>
! Because of the lack of driver support, all of the popular application
! servers provide options to work around it, or don't use it at all.
! Therefore, lack of transaction interleaving shouldn't affect your
! application or data integrity.
! </p>
! <p>
! See the JTA specification, section 3.4.4, or search the pgsql-jdbc
! mailing list archives for more information.
</p>
</answer>
</faq>
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: heikki@enterprisedb.com, mark.lewis@mir3.com
Subject: Re: [Fwd: FAQ update about transaction interleaving]
In-Reply-To: <4554A7EF.1080305@enterprisedb.com>
References: <455471B0.6050606@enterprisedb.com> <1163169381.13226.54.camel@archimedes> <4554A7EF.1080305@enterprisedb.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