X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 477FD3A4075 for ; Tue, 2 Nov 2004 20:25:06 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80649-07 for ; Tue, 2 Nov 2004 20:24:57 +0000 (GMT) Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by svr1.postgresql.org (Postfix) with ESMTP id E4F153A3F53 for ; Tue, 2 Nov 2004 20:24:56 +0000 (GMT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iA2KOojb032427 for ; Tue, 2 Nov 2004 15:24:55 -0500 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iA2KOor15409 for ; Tue, 2 Nov 2004 15:24:50 -0500 Received: from 192.168.1.2 (vpn83-126.boston.redhat.com [172.16.83.126]) by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id iA2KOmFE017591 for ; Tue, 2 Nov 2004 15:24:49 -0500 From: Vadim Nasardinov Organization: Red Hat / Westford To: pgsql-jdbc@postgresql.org Subject: Re: 1300 to 3100 lines of code for XA support Date: Tue, 2 Nov 2004 15:31:00 -0500 User-Agent: KMail/1.5.4 References: <200410271617.28742@vadim.nasardinov> <200411021447.54010@vadim.nasardinov> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411021531.00415@vadim.nasardinov> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/34 X-Sequence-Number: 11456 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