Re: 1300 to 3100 lines of code for XA support

From: Vadim Nasardinov <vadimn(at)redhat(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 1300 to 3100 lines of code for XA support
Date: 2004-11-02 20:31:00
Message-ID: 200411021531.00415@vadim.nasardinov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2004-11-02 20:43:53 Re: 1300 to 3100 lines of code for XA support
Previous Message Kris Jurka 2004-11-02 20:29:01 Re: executeBatch() issue with new driver?