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 1514152A0C for ; Sat, 23 Jul 2005 14:06:14 -0300 (ADT) 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 45419-02 for ; Sat, 23 Jul 2005 17:06:04 +0000 (GMT) Received: from mail102.csoft.net (lilly.csoft.net [63.111.22.101]) by svr1.postgresql.org (Postfix) with SMTP id 573D252A01 for ; Sat, 23 Jul 2005 14:06:03 -0300 (ADT) Received: (qmail 22332 invoked by uid 3922); 23 Jul 2005 17:06:03 -0000 Date: Sat, 23 Jul 2005 13:06:03 -0400 (EDT) From: Michael Allman To: Oliver Jowett Cc: pgsql-jdbc@postgresql.org Subject: Re: jdbc xa support In-Reply-To: <42E1ED12.6060105@opencloud.com> Message-ID: <20050723130340.F55069@yvyyl> References: <20050719193245.D20902@yvyyl> <20050720211921.V54984@yvyyl> <20050721203342.W75792@yvyyl> <42E053B0.8080807@opencloud.com> <20050721220519.U75792@yvyyl> <42E05E6E.4070001@opencloud.com> <20050722003221.X7757@yvyyl> <42E07DDA.7080103@opencloud.com> <20050722010716.D7757@yvyyl> <42E08A8E.5020807@opencloud.com> <20050722020721.W29135@yvyyl> <42E1ED12.6060105@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/270 X-Sequence-Number: 13418 On Sat, 23 Jul 2005, Oliver Jowett wrote: > 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 just realized how ironic it is that in the one method on XAResource that takes a flag argument that may take an |'d argument the argument name is singular "flag". In end() and start(), which may take only a single flag, the argument name is a plural "flags". Ha ha ha!!! Michael