Re: 1300 to 3100 lines of code for XA support

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Vadim Nasardinov <vadimn(at)redhat(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 1300 to 3100 lines of code for XA support
Date: 2004-11-02 20:43:53
Message-ID: 4187F189.9040005@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
>
>
>
>

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alan Stange 2004-11-02 20:44:40 Re: executeBatch() issue with new driver?
Previous Message Vadim Nasardinov 2004-11-02 20:31:00 Re: 1300 to 3100 lines of code for XA support