Re: jdbc xa support

From: Michael Allman <msa(at)allman(dot)ms>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc xa support
Date: 2005-07-23 16:25:20
Message-ID: 20050723122430.R55069@yvyyl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>> I added the lines
>>
>> if (flag != TMSTARTRSCAN) {
>> return new Xid[0];
>> }
>>
>> to the top of the recover() method and posted a new version at
>>
>> http://www.allman.ms/pgjdbcxa/pgjdbcxa-20050722.jar
>
> Not quite -- it's a flag not an enumerated value -- the TM can specify
> TMENDRSCAN|TMSTARTRSCAN to restart a scan currently in progress.
>
> 'if ((flag & TMSTARTRSCAN) == 0)' should work.
>

I'll make a correction in the next patch. Thanks.

Michael

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michael Allman 2005-07-23 16:46:04 Re: jdbc xa support
Previous Message Heikki Linnakangas 2005-07-23 07:50:38 Re: jdbc xa support