Re: 1300 to 3100 lines of code for XA support - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: 1300 to 3100 lines of code for XA support
Date
Msg-id 4187F189.9040005@fastcrypt.com
Whole thread Raw
In response to Re: 1300 to 3100 lines of code for XA support  (Vadim Nasardinov <vadimn@redhat.com>)
List pgsql-jdbc
This is exactly why it was removed, because it didn't really work.

Dave

Vadim Nasardinov wrote:

>On Tuesday 02 November 2004 15:09, Kris Jurka wrote:
>
>
>>You might be interested to know that pg used to have a fake XA
>>implementation in the driver as well.
>>
>>http://gborg.postgresql.org/project/pgjdbc/cvs/cvs.php/pgjdbc/org/postgresql/xa?sa=1
>>
>>
>
>Yes, I've seen this.  As I mentioned in the original post:
>
> |  As a side note, it looks like the PostgreSQL JDBC driver used to
> |  provide emulated XA support [11].
> | [...]
> |  Footnotes
> | [...]
> |  11. http://people.redhat.com/~vadimn/scratch/pgsql-jdbc/changelog.html#2002-08-14-16:35
>
>The commit message by "barry" (Barry Lind?) does not elaborate
>on the reasons why these classes were removed:
>
>  | Also note that this checkin removes the PostgresqlDataSource and
>  | files in the xa directory.  A recent checkin has added new
>  | datasource support that replaces the functionality provided by
>  | these classes.
>
>Do you know why this code was removed?  (That is, aside from the fact that it
>couldn't possibly work.)
>
>
>Thanks,
>Vadim
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>
>
>

--
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: executeBatch() issue with new driver?
Next
From: Alan Stange
Date:
Subject: Re: executeBatch() issue with new driver?