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 BD1483A2B4A for ; Tue, 2 Nov 2004 20:43:16 +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 86622-03 for ; Tue, 2 Nov 2004 20:43:06 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 3BF553A4046 for ; Tue, 2 Nov 2004 20:43:06 +0000 (GMT) Received: (qmail 15720 invoked from network); 2 Nov 2004 20:44:18 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 2 Nov 2004 20:44:18 -0000 Message-ID: <4187F189.9040005@fastcrypt.com> Date: Tue, 02 Nov 2004 15:43:53 -0500 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 0.8 (X11/20041001) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vadim Nasardinov Cc: pgsql-jdbc@postgresql.org Subject: Re: 1300 to 3100 lines of code for XA support References: <200410271617.28742@vadim.nasardinov> <200411021447.54010@vadim.nasardinov> <200411021531.00415@vadim.nasardinov> In-Reply-To: <200411021531.00415@vadim.nasardinov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/36 X-Sequence-Number: 11458 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