Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id CEDCB9FB2F1 for ; Fri, 10 Nov 2006 12:25:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 95153-10 for ; Fri, 10 Nov 2006 12:25:25 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id 1E8579FA3A7 for ; Fri, 10 Nov 2006 12:25:23 -0400 (AST) thread-index: AccE5NNL9YJTz2+TTnW2jCUR5FtuWg== Content-Transfer-Encoding: 7bit Received: from [192.168.0.22] ([62.232.55.118]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Nov 2006 11:25:24 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Content-class: urn:content-classes:message Importance: normal Message-ID: <4554A7EF.1080305@enterprisedb.com> Date: Fri, 10 Nov 2006 16:25:19 +0000 From: "Heikki Linnakangas" User-Agent: Thunderbird 1.5.0.7 (X11/20060927) MIME-Version: 1.0 To: "Mark Lewis" Cc: Subject: Re: [Fwd: FAQ update about transaction interleaving] References: <455471B0.6050606@enterprisedb.com> <1163169381.13226.54.camel@archimedes> In-Reply-To: <1163169381.13226.54.camel@archimedes> Content-Type: multipart/mixed; boundary="------------040302060402010704000509" X-OriginalArrivalTime: 10 Nov 2006 16:25:24.0671 (UTC) FILETIME=[D341D4F0:01C704E4] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/53 X-Sequence-Number: 16095 This is a multi-part message in MIME format. --------------040302060402010704000509 Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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.com --------------040302060402010704000509 Content-Type: text/plain; name="xa-faq-update.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xa-faq-update.diff" ? 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 **** Does the driver have XA support?

! Yes, starting with the 8.1dev-403 driver XADataSource support ! is available. It is not complete in that it does not support ! transaction interleaving.

--- 10,49 ---- Does the driver have XA support?

! Yes, starting with the 8.1dev-403 driver. However, transaction ! interleaving is not supported. !

!
! What is "transaction interleaving"? ! !

! Transaction interleaving means that one database connection can be ! used for multiple transactions at the same time, switching between ! the transactions. !

!

! 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. !

!

! 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. !

!

! 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. !

!

! See the JTA specification, section 3.4.4, or search the pgsql-jdbc ! mailing list archives for more information.

--------------040302060402010704000509--