>> 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