pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
jdbc xa patches
18+ messages / 5 participants
[nested] [flat]

* jdbc xa patches
@ 2005-07-26 23:39  Michael Allman <msa@allman.ms>
  0 siblings, 1 reply; 18+ messages in thread

From: Michael Allman @ 2005-07-26 23:39 UTC (permalink / raw)
  To: pgsql-jdbc

I have uploaded another version of my PostgreSQL JDBC XA support to

http://www.allman.ms/pgjdbcxa/pgjdbcxa-20050726.jar

I have improved the code documentation in this release.

I would like to see this make its way into CVS.  Would a committer weigh 
in?

Thanks.

Michael



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 00:15  Oliver Jowett <oliver@opencloud.com>
  parent: Michael Allman <msa@allman.ms>
  0 siblings, 2 replies; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 00:15 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

Michael Allman wrote:

> I would like to see this make its way into CVS.  Would a committer weigh
> in?

(caveat: this is just from reading the code, not actually running it; I
don't have a functional 8.1 build to hand at the moment)

I don't see any major problems with integrating this. Random comments:

We now use 4-space indents, not tabs.

Do you have changes to build.xml to handle conditional compilation of
the XA code only when the XA classes are available?

Is the test code ready to hook into the standard testsuite? Or are you
anticipating a separate test run in the 'tests' target that invokes
XATestSuite?

Is there any reason why the XA datasource needs to be a separate class?
i.e. can we roll that functionality into all our datasources and put it
at the top of the hierarchy somewhere? My only concern there is
availability of the XA classes over different JDBC versions, we may need
more conditional compilation, or use token substitution to comment out
the XA code when the classes aren't available.

Shouldn't the XAResource check the server version on construction or on
start()/recover() to make sure that it's actually going to be able to
use PREPARE TRANSACTION later? Or is erroring out with a syntax error at
the point of prepare() sufficient? (I'd like to see a better error
message there at least)

I'm not entirely happy about defaulting to autocommit=off on connections
retrieved from the datasource. I understand that it needs to be off
before you can actually do an XA start(), but I don't like defaulting to
off as the Connection docs do say that connections start out with
autocommit on. Also, can we check in start() rather than on getXAResource()?

Having ResourceAssociationState as a full-blown class seems like
overkill since you only have one instance anyway.

Is XID_TO_TRANSACTION_STATE_MAP actually necessary? It seems like it's
only there for detecting XA protocol errors (which would otherwise show
up as errors from the backend, e.g. trying to commit a nonexistant
transaction), and for tracking the state of the transaction that is
currently suspended or currently associated (of which there can only be
one in the current implementation)

I'm not sure it's necessary for recover() to avoid returning
non-JDBC-originated transactions; from memory the TM is already required
to handle recovered Xids that were not generated by it. (need to check
the XA spec here)

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 01:26  Oliver Jowett <oliver@opencloud.com>
  parent: Oliver Jowett <oliver@opencloud.com>
  1 sibling, 1 reply; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 01:26 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

Oliver Jowett wrote:

> Shouldn't the XAResource check the server version on construction or on
> start()/recover() to make sure that it's actually going to be able to
> use PREPARE TRANSACTION later? Or is erroring out with a syntax error at
> the point of prepare() sufficient? (I'd like to see a better error
> message there at least)

More generally: can we get XAExceptions thrown with useful messages? It
seems like there's no direct constructor that gives you both message and
error code, but the error code is a public field so you can set it after
construction before throwing.

Also, in the case where the failure is caused by another exception, we
should generally chain that exception rather than writing it to the log
writer. See how PSQLException does this for details..

There's enough meddling there that it might be worth subclassing
XAException to automate it all.. or have a helper method somewhere.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 03:28  Michael Allman <msa@allman.ms>
  parent: Oliver Jowett <oliver@opencloud.com>
  1 sibling, 2 replies; 18+ messages in thread

From: Michael Allman @ 2005-07-27 03:28 UTC (permalink / raw)
  To: Oliver Jowett <oliver@opencloud.com>; +Cc: pgsql-jdbc

On Wed, 27 Jul 2005, Oliver Jowett wrote:

> I don't see any major problems with integrating this. Random comments:
>
> We now use 4-space indents, not tabs.

I'm away from my normal dev machine and am flailing away with unfamiliar 
tools.  Do you have a utility that will indent as desired?

> Do you have changes to build.xml to handle conditional compilation of
> the XA code only when the XA classes are available?

Yes.  I would send a diff but I don't have diff right now (see above).  I 
am attaching the entire build.xml.

> Is the test code ready to hook into the standard testsuite? Or are you
> anticipating a separate test run in the 'tests' target that invokes
> XATestSuite?

Hmmm . . . I'm not sure how you run tests.  I created an XATestSuite class 
in anticipation of using it to run all the XA-related JUnit test case 
classes.

> Is there any reason why the XA datasource needs to be a separate class?
> i.e. can we roll that functionality into all our datasources and put it
> at the top of the hierarchy somewhere? My only concern there is
> availability of the XA classes over different JDBC versions, we may need
> more conditional compilation, or use token substitution to comment out
> the XA code when the classes aren't available.

In creating PGXADataSource I followed the example of 
org.postgresql.ds.PGConnectionPoolDataSource.

Also, an XADataSource is special in certain ways other than simple having 
a method to vend XAConnection instances, e.g. all XADataSource vended 
connections are set to "manual commit" (whatever you call the opposite of 
auto commit).

> Shouldn't the XAResource check the server version on construction or on
> start()/recover() to make sure that it's actually going to be able to
> use PREPARE TRANSACTION later? Or is erroring out with a syntax error at
> the point of prepare() sufficient? (I'd like to see a better error
> message there at least)

If we call statement.executeUpdate("SOME QUERY POSTGRESQL DOESN'T 
UNDERSTAND") will it throw an instance of SQLException?

> I'm not entirely happy about defaulting to autocommit=off on connections
> retrieved from the datasource. I understand that it needs to be off
> before you can actually do an XA start(), but I don't like defaulting to
> off as the Connection docs do say that connections start out with
> autocommit on. Also, can we check in start() rather than on getXAResource()?

The underlying physical connection starts in auto-commit mode, as 
required.  Before the client gets a handle to it, it is set to 
non-auto-commit mode because the connection comes from an XADataSource.

I think the following from the JDBC 3.0 spec, section 10.1.1 supports my 
position:

<quote>
The default is for auto-commit mode to be enabled when the 
Connection object is created. If the value of auto-commit is changed in 
the middle of a transaction, the current transaction is committed. It is 
an error to enable auto-commit for a connection participating in a 
distributed transaction, as described in Chapter 12 "Distributed 
Transactions".
</quote>

Other than defaulting to non-auto-commit, I haven't given much thought to 
checking its state in PGXAResource.  If someone sets a connection 
participating in TPC to auto-commit, they're going to have problems one 
way or another.

> Having ResourceAssociationState as a full-blown class seems like
> overkill since you only have one instance anyway.

Maybe.  Java 1.4 doesn't have enums.  What do you suggest as an 
alternative?

> Is XID_TO_TRANSACTION_STATE_MAP actually necessary? It seems like it's
> only there for detecting XA protocol errors (which would otherwise show
> up as errors from the backend, e.g. trying to commit a nonexistant
> transaction), and for tracking the state of the transaction that is
> currently suspended or currently associated (of which there can only be
> one in the current implementation)

In the implementation of rollback() it is used to determine whether to 
call physicalConnection.rollback() or issue a "ROLLBACK PREPARED" query.

> I'm not sure it's necessary for recover() to avoid returning
> non-JDBC-originated transactions; from memory the TM is already required
> to handle recovered Xids that were not generated by it. (need to check
> the XA spec here)

Quite the opposite.  The TM is required to ignore xids that were not 
generated by it.

Think about it --- how would TM1 know how to recover a transaction branch 
created by TM2?  Only TM2 knows what resources where participating in that 
branch.

Besides, if someone prepares a transaction with id "whatever", we aren't 
going to be able to decode that to an xid.

Thanks for your attention.

Michael

Attachments:

build.xml (text/plain, 18.6K) download <?xml version="1.0"?> <!-- Copyright (c) 2004-2005, PostgreSQL Global Development Group Build file to allow ant (http://ant.apache.org/) to be used to build the PostgreSQL JDBC Driver. This file now requires Ant 1.4.1. 2002-04-18 $PostgreSQL: pgjdbc/build.xml,v 1.63 2005/02/01 07:27:53 jurka Exp $ --> <!DOCTYPE project [ <!ENTITY jarfiles "postgresql.jar,postgresql-examples.jar"> ]> <project name="postgresqlJDBC" default="all" basedir="."> <!-- set global properties for this build --> <property name="srcdir" value="." /> <property name="jardir" value="jars" /> <property name="builddir" value="build" /> <property name="package" value="org/postgresql" /> <property name="debug" value="on" /> <!-- default build parameters are in build.properties, these may be overridden by local configuration settings in build.local.properties --> <property file="build.local.properties" /> <property file="build.properties"/> <target name="check_versions"> <condition property="jdbc2"> <or> <equals arg1="${ant.java.version}" arg2="1.2"/> <equals arg1="${ant.java.version}" arg2="1.3"/> </or> </condition> <condition property="jdbc3"> <equals arg1="${ant.java.version}" arg2="1.4"/> </condition> <condition property="jdbc3g"> <equals arg1="${ant.java.version}" arg2="1.5"/> </condition> <condition property="jdbc3any"> <or> <isset property="jdbc3" /> <isset property="jdbc3g" /> </or> </condition> <available property="datasource" classname="javax.sql.DataSource"/> <available property="xadatasource" classname="javax.sql.XADataSource"/> <available property="ssl" classname="javax.net.ssl.SSLContext"/> <available property="junit" classname="junit.framework.Test"/> <available property="junit.task" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/> <condition property="jdbc2optionaltests"> <and> <isset property="datasource"/> <isset property="junit"/> </and> </condition> <condition property="jdbc3tests"> <and> <isset property="jdbc3any"/> <isset property="datasource"/> <isset property="junit"/> </and> </condition> </target> <!-- default target --> <target name="all"> <antcall target="jar" /> </target> <!-- create the jar file --> <target name="jar" depends="compile,examples"> <jar jarfile="${jardir}/postgresql.jar"> <fileset dir="${builddir}"> <include name="${package}/**/*.class" /> </fileset> <fileset dir="${srcdir}"> <include name="${package}/translation/*.class" /> </fileset> </jar> <jar jarfile="${jardir}/postgresql-examples.jar"> <fileset dir="${builddir}"> <include name="example/**/*.class" /> </fileset> <fileset dir="${srcdir}"> <include name="example/*.properties" /> </fileset> </jar> </target> <target name="compile" depends="prepare,check_versions,driver"> <available classname="org.postgresql.Driver" property="old.driver.present" /> <fail message="Old driver was detected on classpath or in jre/lib/ext, please remove and try again." if="old.driver.present" /> <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}"> <!-- This is the core of the driver. It is common for all versions. --> <include name="${package}/*.java" /> <include name="${package}/core/**" /> <include name="${package}/fastpath/**" /> <include name="${package}/geometric/**" /> <include name="${package}/largeobject/**" /> <include name="${package}/util/**" /> <!-- Each jdbcN subpackage is used only if the driver supports *at least* that revision of JDBC. That is, a JDBC2 build uses only jdbc2, a JDBC3 build uses both jdbc2 and jdbc3, etc. Within those subpackages, classes beginning with "JdbcN" are assumed to be the concrete implementations for JDBC version N and are built only if the driver supports *exactly* that version. For example, jdbc2/Jdbc2Statement.java is built only if the driver build is a JDBC2 build. --> <!-- jdbc2 subpackage --> <include name="${package}/jdbc2/**" if="jdbc2"/> <include name="${package}/jdbc2/**" if="jdbc3"/> <include name="${package}/jdbc2/**" if="jdbc3g"/> <exclude name="${package}/jdbc2/Jdbc2*.java" unless="jdbc2"/> <!-- jdbc3 subpackage --> <include name="${package}/jdbc3/Abstract*.java" if="jdbc3any" /> <include name="${package}/jdbc3/PSQLSavepoint.java" if="jdcb3any" /> <include name="${package}/jdbc3/PSQLParameterMetaData.java" if="jdbc3any" /> <include name="${package}/jdbc3/Jdbc3Array.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3Blob.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3CallableStatement.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3Clob.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3Connection.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3DatabaseMetaData.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3PreparedStatement.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3ResultSet.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3ResultSetMetaData.java.java" if="jdbc3"/> <include name="${package}/jdbc3/Jdbc3Statement.java" if="jdbc3"/> <!-- jdbc3g subpackage --> <include name="${package}/jdbc3g/*.java" if="jdbc3g" /> <exclude name="${package}/jdbc3g/Jdbc3g*.java" unless="jdbc3g" /> <!-- ssl --> <include name="${package}/ssl/*.java" if="ssl" /> <!-- datasource stuff --> <exclude name="${package}/jdbc2/optional/**" unless="datasource"/> <include name="${package}/jdbc3/Jdbc3ConnectionPool.java" if="jdbc3any" /> <include name="${package}/jdbc3/Jdbc3PoolingDataSource.java" if="jdbc3any" /> <include name="${package}/jdbc3/Jdbc3SimpleDataSource.java" if="jdbc3any" /> <include name="${package}/ds/**/*.java" if="datasource" /> <!-- xa stuff --> <include name="${package}/xa/*.java" if="xadatasource" /> </javac> </target> <target name="check_driver"> <uptodate targetfile="${package}/Driver.java" property="driver.uptodate"> <srcfiles dir="."> <include name="${package}/util/PSQLException.java.in"/> <include name="${package}/Driver.java.in"/> <include name="build.properties"/> <include name="build.local.properties" /> </srcfiles> </uptodate> </target> <!-- This generates Driver.java from Driver.java.in It's required for importing the driver version properties --> <target name="driver" depends="prepare,check_versions,check_driver" unless="driver.uptodate"> <!-- determine the edition text --> <condition property="edition" value="JDBC2 Enterprise"> <and> <available classname="javax.sql.DataSource" /> <equals arg1="${jdbc2}" arg2="true"/> </and> </condition> <condition property="edition" value="JDBC2"> <equals arg1="${jdbc2}" arg2="true"/> </condition> <condition property="edition" value="JDBC3"> <equals arg1="${jdbc3}" arg2="true"/> </condition> <condition property="edition" value="JDBC3g"> <equals arg1="${jdbc3g}" arg2="true" /> </condition> <!-- determine the connection class --> <condition property="connectclass" value="org.postgresql.jdbc2.Jdbc2Connection"> <equals arg1="${jdbc2}" arg2="true"/> </condition> <condition property="connectclass" value="org.postgresql.jdbc3.Jdbc3Connection"> <equals arg1="${jdbc3}" arg2="true"/> </condition> <condition property="connectclass" value="org.postgresql.jdbc3g.Jdbc3gConnection"> <equals arg1="${jdbc3g}" arg2="true"/> </condition> <!-- Determine if we have Throwable.initCause() if so we use it in org.postgresql.util.PSQLException instead of appending any nested exception to the message. --> <condition property="noInitCause" value="//"> <equals arg1="${jdbc3any}" arg2="true" /> </condition> <condition property="noInitCause" value=""> <not><equals arg1="${jdbc3any}" arg2="true" /></not> </condition> <!-- determine the ssl status --> <condition property="ssl_config" value=""> <equals arg1="${ssl}" arg2="true"/> </condition> <condition property="ssl_config" value="//"> <not> <equals arg1="${ssl}" arg2="true"/> </not> </condition> <condition property="ssl_edition" value="SSL"> <equals arg1="${ssl}" arg2="true"/> </condition> <condition property="ssl_edition" value="NO SSL"> <not> <equals arg1="${ssl}" arg2="true"/> </not> </condition> <!-- Some defaults --> <filter token="MAJORVERSION" value="${major}" /> <filter token="MINORVERSION" value="${minor}" /> <filter token="VERSION" value="PostgreSQL ${fullversion} ${edition} with ${ssl_edition}" /> <filter token="JDBCCONNECTCLASS" value="${connectclass}" /> <filter token="DEF_PGPORT" value="${def_pgport}" /> <filter token="SSL" value="${ssl_config}" /> <filter token="NOINITCAUSE" value="${noInitCause}" /> <fail unless="major" message="'major' undefined. Please follow the directions in README."/> <fail unless="minor" message="'minor' undefined. Please follow the directions in README."/> <fail unless="fullversion" message="'fullversion' undefined. Please follow the directions in README."/> <fail unless="def_pgport" message="'def_pgport' undefined. Please follow the directions in README."/> <fail unless="enable_debug" message="'enable_debug' undefined. Please follow the directions in README."/> <!-- Put a check for the current version here --> <!-- now copy and filter the file --> <copy file="${package}/Driver.java.in" overwrite="true" tofile="${package}/Driver.java" filtering="yes" /> <copy file="${package}/util/PSQLException.java.in" overwrite="true" tofile="${package}/util/PSQLException.java" filtering="yes" /> <echo message="Configured build for the ${edition} edition driver with ${ssl_edition}" /> </target> <!-- Prepares the build directory --> <target name="prepare"> <!-- use the enable_debug option from configure --> <condition property="debug" value="on"> <and> <equals arg1="${enable_debug}" arg2="yes" /> </and> </condition> <mkdir dir="${builddir}" /> <mkdir dir="${jardir}" /> </target> <!-- This builds the examples --> <target name="examples" depends="compile"> <javac srcdir="${srcdir}" destdir="${builddir}" debug="${debug}"> <include name="example/**" /> <exclude name="example/corba/**"/> </javac> </target> <!-- Builds the corba example --> <target name="corba" if="jdbc2"> <exec dir="${srcdir}/example/corba" executable="idl2java"> <arg value="stock.idl" /> </exec> <javac srcdir="${srcdir}" destdir="${builddir}" debug="${debug}"> <include name="example/corba/**" /> </javac> </target> <!-- This target removes any class files from the build directory --> <target name="clean"> <delete quiet="true" dir="${builddir}" /> <delete quiet="true" dir="${jardir}" /> <delete quiet="true" file="${package}/Driver.java" /> <delete quiet="true" file="${package}/util/PSQLException.java" /> </target> <!-- This compiles and executes the JUnit tests --> <!-- defaults for the tests - override these if required --> <property name="server" value="localhost" /> <property name="port" value="${def_pgport}" /> <property name="database" value="test" /> <property name="username" value="test" /> <!-- Password must be something. Doesn't matter if trust is used! --> <property name="password" value="password" /> <property name="preparethreshold" value="0" /> <!-- The tests now build to a separate directory and jarfile from the driver build, to ensure we're really testing against the jar we just built, and not whatever happens to be in builddir. --> <!-- This compiles and builds the test jarfile. --> <target name="testjar" depends="jar"> <fail message="JUnit could not be found in your classpath. You must download and install it from http://junit.org to build and run the test suite." unless="junit" /> <mkdir dir="${builddir}/tests"/> <javac srcdir="${srcdir}" destdir="${builddir}/tests" debug="${debug}"> <include name="${package}/test/**" /> <exclude name="${package}/test/jdbc2/optional/**" unless="jdbc2optionaltests" /> <exclude name="${package}/test/jdbc3/**" unless="jdbc3tests" /> <exclude name="${package}/test/util/**" unless="jdbc2optionaltests" /> <classpath> <pathelement location="${jardir}/postgresql.jar"/> </classpath> </javac> <jar jarfile="${jardir}/postgresql-tests.jar" basedir="${builddir}/tests"/> </target> <!-- This actually runs the tests --> <target name="runtest" depends="testjar"> <fail message="Your version of ant doesn't seem to have the junit task available. I looked for org.apache.tools.ant.taskdefs.optional.junit.JUnitTask, but I couldn't find it." unless="junit.task" /> <junit> <formatter type="brief" usefile="false"/> <sysproperty key="server" value="${server}" /> <sysproperty key="port" value="${port}" /> <sysproperty key="database" value="${database}" /> <sysproperty key="username" value="${username}" /> <sysproperty key="password" value="${password}" /> <sysproperty key="preparethreshold" value="${preparethreshold}" /> <classpath> <pathelement location="${jardir}/postgresql.jar" /> <pathelement location="${jardir}/postgresql-tests.jar" /> <pathelement path="${java.class.path}" /> </classpath> <test name="org.postgresql.test.jdbc2.Jdbc2TestSuite" if="junit" /> <test name="org.postgresql.test.jdbc2.optional.OptionalTestSuite" if="jdbc2optionaltests"/> <test name="org.postgresql.test.jdbc3.Jdbc3TestSuite" if="jdbc3tests"/> </junit> </target> <!-- Build and run the tests. --> <target name="test" depends="testjar,runtest"/> <!-- Build public javadoc --> <target name="publicapi" depends="compile"> <mkdir dir="${builddir}/publicapi" /> <javadoc destdir="${builddir}/publicapi"> <classpath> <pathelement path="${builddir}" /> <pathelement path="${java.class.path}" /> </classpath> <fileset dir="${package}"> <include name="geometric/*.java" /> <include name="largeobject/*.java" /> <include name="fastpath/*.java" /> <include name="PG*.java" /> <include name="util/PGobject.java" /> <include name="ssl/WrappedFactory.java" if="ssl" /> <include name="ssl/NonValidatingFactory.java" if="ssl" /> <include name="ds/PG*.java" if="datasource" /> <include name="ds/common/BaseDataSource.java" if="datasource" /> </fileset> </javadoc> </target> <!-- Build driver-internal javadoc. NB: needs Ant 1.6 & JDK 1.4 for 'breakiterator'. --> <target name="privateapi" depends="compile"> <javadoc destdir="${builddir}/privateapi" breakiterator="yes"> <classpath> <pathelement path="${builddir}" /> <pathelement path="${java.class.path}" /> </classpath> <fileset dir="${package}"> <include name="**/*.java"/> <exclude name="jdbc2/Jdbc2*.java" unless="jdbc2" /> <exclude name="jdbc3/Jdbc3*.java" unless="jdbc3" /> <exclude name="jdbc3g/Jdbc3g*.java" unless="jdbc3g" /> <exclude name="test/**/*.java"/> </fileset> </javadoc> </target> <!-- Build the documentation --> <target name="doc" depends="prepare"> <mkdir dir="${builddir}/doc"/> <xslt basedir="doc" destdir="${builddir}/doc" includes="*.xml" force="yes" style="${docbook.stylesheet}"> <param name="base.dir" expression="${builddir}/doc/"/> <param name="use.id.as.filename" expression="1" /> </xslt> <delete file="${builddir}/doc/pgjdbc.html"/> </target> <!-- Blah. Can't reference an external XML catalog until Ant 1.6. So instead we copy the contents of ${docbook.dtd}/catalog.xml here, in the form that Ant's xmlcatalog element wants. --> <xmlcatalog id="docbook-catalog"> <dtd publicId="-//OASIS//DTD DocBook XML V4.2//EN" location="${docbook.dtd}/docbookx.dtd"/> <entity publicId="-//OASIS//DTD DocBook CALS Table Model V4.2//EN" location="${docbook.dtd}/calstblx.dtd"/> <entity publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" location="${docbook.dtd}/soextblx.dtd"/> <entity publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" location="${docbook.dtd}/dbpoolx.mod"/> <entity publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" location="${docbook.dtd}/dbhierx.mod"/> <entity publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" location="${docbook.dtd}/dbgenent.mod"/> <entity publicId="-//OASIS//ENTITIES DocBook Notations V4.2//EN" location="${docbook.dtd}/dbnotnx.mod"/> <entity publicId="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" location="${docbook.dtd}/dbcentx.mod"/> </xmlcatalog> <!-- Validate but don't process the documentation. This target expects the DocBook XML DTDs, available at http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip, to be present in ${docbook.dtd}. If they're not present, they will be fetched on each validation from www.oasis-open.org. Note that if the DTD fetch fails, validation fails with a fairly useless error message. Run ant with -verbose to get a more useful error. You'll need to set the java properties http.proxyHost and http.proxyPort if you need to go via a proxy to fetch the DTDs. --> <target name="validate-doc" depends="prepare"> <xmlvalidate warn="true"> <fileset dir="doc" includes="*.xml"/> <xmlcatalog refid="docbook-catalog"/> </xmlvalidate> </target> </project>
^ permalink raw reply [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 03:40  Michael Allman <msa@allman.ms>
  parent: Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 18+ messages in thread

From: Michael Allman @ 2005-07-27 03:40 UTC (permalink / raw)
  To: Oliver Jowett <oliver@opencloud.com>; +Cc: pgsql-jdbc

On Wed, 27 Jul 2005, Oliver Jowett wrote:

> Oliver Jowett wrote:
>
>> Shouldn't the XAResource check the server version on construction or on
>> start()/recover() to make sure that it's actually going to be able to
>> use PREPARE TRANSACTION later? Or is erroring out with a syntax error at
>> the point of prepare() sufficient? (I'd like to see a better error
>> message there at least)
>
> More generally: can we get XAExceptions thrown with useful messages? It
> seems like there's no direct constructor that gives you both message and
> error code, but the error code is a public field so you can set it after
> construction before throwing.

Short answer: yes.

Long answer:

Since the client of a PGXAResource instance is a transaction manager I see 
no benefit.  The transaction manager will make a decision on what to do 
based on the code carried by XAException and carry on.  Maybe it will log 
a message.

> Also, in the case where the failure is caused by another exception, we
> should generally chain that exception rather than writing it to the log
> writer. See how PSQLException does this for details..
>
> There's enough meddling there that it might be worth subclassing
> XAException to automate it all.. or have a helper method somewhere.

I'm just not sure it's worth the effort.  I did put in log messages that I 
think will help debug problems and whatnot.  But exceptions are going to 
be handled by the TM and will not be rethrown to any user/app code.

Maybe we should do more logging?  I'm not quite sure that would be much 
benefit either.  I've found the current level of logging to be adequate.

On a related note, I think we should do some kind of app server testing 
before this code is released.  I think this calls for Cactus.  What do you 
think?  I know how to use JBoss.  Maybe someone else could write build 
files to deploy to other app servers.

Michael



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 04:33  Oliver Jowett <oliver@opencloud.com>
  parent: Michael Allman <msa@allman.ms>
  1 sibling, 2 replies; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 04:33 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

Michael Allman wrote:
> On Wed, 27 Jul 2005, Oliver Jowett wrote:
> 
>> We now use 4-space indents, not tabs.
> 
> I'm away from my normal dev machine and am flailing away with unfamiliar 
> tools.  Do you have a utility that will indent as desired?

perl? :-)

>> Shouldn't the XAResource check the server version on construction or on
>> start()/recover() to make sure that it's actually going to be able to
>> use PREPARE TRANSACTION later? Or is erroring out with a syntax error at
>> the point of prepare() sufficient? (I'd like to see a better error
>> message there at least)
> 
> If we call statement.executeUpdate("SOME QUERY POSTGRESQL DOESN'T 
> UNDERSTAND") will it throw an instance of SQLException?

Yes, per JDBC spec. Still, it is generally tricky to distinguish a 
particular error class from more general errors (SQLSTATE only gets you 
so far).

>> Having ResourceAssociationState as a full-blown class seems like
>> overkill since you only have one instance anyway.
> 
> Maybe.  Java 1.4 doesn't have enums.  What do you suggest as an 
> alternative?

Just a bare int?

>> Is XID_TO_TRANSACTION_STATE_MAP actually necessary? It seems like it's
>> only there for detecting XA protocol errors (which would otherwise show
>> up as errors from the backend, e.g. trying to commit a nonexistant
>> transaction), and for tracking the state of the transaction that is
>> currently suspended or currently associated (of which there can only be
>> one in the current implementation)
> 
> In the implementation of rollback() it is used to determine whether to 
> call physicalConnection.rollback() or issue a "ROLLBACK PREPARED" query.

Isn't that covered by tracking the state of the one transaction that's 
currently in progress on the connection? i.e. if you get asked to 
rollback() while it's active, you do a rollback(); otherwise you do a 
ROLLBACK PREPARED.

>> I'm not sure it's necessary for recover() to avoid returning
>> non-JDBC-originated transactions; from memory the TM is already required
>> to handle recovered Xids that were not generated by it. (need to check
>> the XA spec here)
> 
> Quite the opposite.  The TM is required to ignore xids that were not 
> generated by it.

Sorry, that's what I meant by "handle" as in "not complain about" aka 
"ignore" :)

> Besides, if someone prepares a transaction with id "whatever", we aren't 
> going to be able to decode that to an xid.

I guess that's a good reason.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 04:35  Oliver Jowett <oliver@opencloud.com>
  parent: Michael Allman <msa@allman.ms>
  0 siblings, 1 reply; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 04:35 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

Michael Allman wrote:
> On Wed, 27 Jul 2005, Oliver Jowett wrote:
> 
>> More generally: can we get XAExceptions thrown with useful messages? It
>> seems like there's no direct constructor that gives you both message and
>> error code, but the error code is a public field so you can set it after
>> construction before throwing.

> Since the client of a PGXAResource instance is a transaction manager I 
> see no benefit.  The transaction manager will make a decision on what to 
> do based on the code carried by XAException and carry on.  Maybe it will 
> log a message.

I absolutely disagree with there being no benefit. We should provide as 
much information as possible in the exception. All hhe TM *has* to log 
is the exception we give it, really, so that better have all the 
information we can give about any underlying problems.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 05:09  Michael Allman <msa@allman.ms>
  parent: Oliver Jowett <oliver@opencloud.com>
  1 sibling, 2 replies; 18+ messages in thread

From: Michael Allman @ 2005-07-27 05:09 UTC (permalink / raw)
  To: Oliver Jowett <oliver@opencloud.com>; +Cc: pgsql-jdbc

On Wed, 27 Jul 2005, Oliver Jowett wrote:

> Michael Allman wrote:
>> On Wed, 27 Jul 2005, Oliver Jowett wrote:
>> 
>>> We now use 4-space indents, not tabs.
>> 
>> I'm away from my normal dev machine and am flailing away with unfamiliar 
>> tools.  Do you have a utility that will indent as desired?
>
> perl? :-)

ugh :-(

>>> Shouldn't the XAResource check the server version on construction or on
>>> start()/recover() to make sure that it's actually going to be able to
>>> use PREPARE TRANSACTION later? Or is erroring out with a syntax error at
>>> the point of prepare() sufficient? (I'd like to see a better error
>>> message there at least)
>> 
>> If we call statement.executeUpdate("SOME QUERY POSTGRESQL DOESN'T 
>> UNDERSTAND") will it throw an instance of SQLException?
>
> Yes, per JDBC spec. Still, it is generally tricky to distinguish a particular 
> error class from more general errors (SQLSTATE only gets you so far).

First, I'm assuming that any general release of the JDBC driver with XA 
support will make it clear up front that it requires Postgres 8.1.

With that in mind, if some mortal is foolish enough to attempt to prepare 
a transaction on an unsupported backend, executeUpdate() will barf up an 
SQLException, which will cause PGXAResource to throw an XAException yada 
yada yada which will cause the TM to rollback the transaction.  So at 
least they won't be in Dangling Transaction Hell.

Anyway, I'm counting on Postgres users knowing what they're doing, esp. 
with something as non-trivial as XA support.

>>> Having ResourceAssociationState as a full-blown class seems like
>>> overkill since you only have one instance anyway.
>> 
>> Maybe.  Java 1.4 doesn't have enums.  What do you suggest as an 
>> alternative?
>
> Just a bare int?

In this kind of situation I prefer an enum or enum-like class to an int. 
I don't dispute that it would work with just an int.  As a matter of 
personal preference I like to use a more specific type.

>>> Is XID_TO_TRANSACTION_STATE_MAP actually necessary? It seems like it's
>>> only there for detecting XA protocol errors (which would otherwise show
>>> up as errors from the backend, e.g. trying to commit a nonexistant
>>> transaction), and for tracking the state of the transaction that is
>>> currently suspended or currently associated (of which there can only be
>>> one in the current implementation)
>> 
>> In the implementation of rollback() it is used to determine whether to call 
>> physicalConnection.rollback() or issue a "ROLLBACK PREPARED" query.
>
> Isn't that covered by tracking the state of the one transaction that's 
> currently in progress on the connection? i.e. if you get asked to rollback() 
> while it's active, you do a rollback(); otherwise you do a ROLLBACK PREPARED.

I think you're right.  I also think this is a matter of style/personal 
preference.  I like to give classes some of the responsibility for their 
correct usage.  It makes it easier to diagnose problems when a class 
instance is used incorrectly.

Michael



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 05:13  Michael Allman <msa@allman.ms>
  parent: Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 18+ messages in thread

From: Michael Allman @ 2005-07-27 05:13 UTC (permalink / raw)
  To: Oliver Jowett <oliver@opencloud.com>; +Cc: pgsql-jdbc

On Wed, 27 Jul 2005, Oliver Jowett wrote:

> Michael Allman wrote:
>> On Wed, 27 Jul 2005, Oliver Jowett wrote:
>> 
>>> More generally: can we get XAExceptions thrown with useful messages? It
>>> seems like there's no direct constructor that gives you both message and
>>> error code, but the error code is a public field so you can set it after
>>> construction before throwing.
>
>> Since the client of a PGXAResource instance is a transaction manager I see 
>> no benefit.  The transaction manager will make a decision on what to do 
>> based on the code carried by XAException and carry on.  Maybe it will log a 
>> message.
>
> I absolutely disagree with there being no benefit. We should provide as much 
> information as possible in the exception. All hhe TM *has* to log is the 
> exception we give it, really, so that better have all the information we can 
> give about any underlying problems.

In cases where an XAException is thrown due to another exception, say 
SQLException, I believe I was consistent in writing the cause exception's 
stack trace to the DriverManager's log writer.  I think that covers 
logging cause exceptions for the most part.

I'm not really disputing that putting nice string messages in all our 
thrown exceptions is bad, just that in this particular use case it's 
probably not worth the effort.  (The effort being dealing with the fact 
that XAException does not take an error code and string message at once.)

Michael



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 05:27  Oliver Jowett <oliver@opencloud.com>
  parent: Michael Allman <msa@allman.ms>
  1 sibling, 0 replies; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 05:27 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

Michael Allman wrote:

> First, I'm assuming that any general release of the JDBC driver with XA 
> support will make it clear up front that it requires Postgres 8.1.

Sure, but not everyone reads documentation before posting "problems" to 
the list.

> With that in mind, if some mortal is foolish enough to attempt to 
> prepare a transaction on an unsupported backend, executeUpdate() will 
> barf up an SQLException, which will cause PGXAResource to throw an 
> XAException yada yada yada which will cause the TM to rollback the 
> transaction.  So at least they won't be in Dangling Transaction Hell.

Well, that's a given; I'd be complaining much more loudly if it silently 
ate errors!

> Anyway, I'm counting on Postgres users knowing what they're doing, esp. 
> with something as non-trivial as XA support.

You can't really assume that users of XA are familiar with the details 
of our particular XA implemenation, like "a syntax error at this point 
means your backend is too old".

Back to my original point: It Needs A Better Error Message. How you do 
this I don't really care, checking the server version just seemed like 
the most reliable way to distinguish "it doesn't support 2PC" from "some 
random connection error".

>> Isn't that covered by tracking the state of the one transaction that's 
>> currently in progress on the connection? i.e. if you get asked to 
>> rollback() while it's active, you do a rollback(); otherwise you do a 
>> ROLLBACK PREPARED.
> 
> I think you're right.  I also think this is a matter of style/personal 
> preference.  I like to give classes some of the responsibility for their 
> correct usage.  It makes it easier to diagnose problems when a class 
> instance is used incorrectly.

My point was you can still do 90% of this without the extra complexity, 
and the other 10% will get handled by the server (if, for example, a 
broken TM asks to commit a transaction that was never prepared)

Complexity is bad for maintenance. I'm probably going to end up at least 
helping with maintenance of this code, which is why I'm complaining up 
front.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 05:33  Oliver Jowett <oliver@opencloud.com>
  parent: Michael Allman <msa@allman.ms>
  0 siblings, 0 replies; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 05:33 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

Michael Allman wrote:
> On Wed, 27 Jul 2005, Oliver Jowett wrote:
> 
>> I absolutely disagree with there being no benefit. We should provide 
>> as much information as possible in the exception. All hhe TM *has* to 
>> log is the exception we give it, really, so that better have all the 
>> information we can give about any underlying problems.
> 
> In cases where an XAException is thrown due to another exception, say 
> SQLException, I believe I was consistent in writing the cause 
> exception's stack trace to the DriverManager's log writer.  I think that 
> covers logging cause exceptions for the most part.

Logging stack traces to the log writer isn't acceptable really, you have 
no idea whether that's going somewhere that is useful. The 
implementation of the standard java.sql classes means that the log 
writer isn't useful for much beyond debugging, you pretty much have to 
disable it for any production use. Also, the rest of the driver chains 
exceptions rather than use the log writer in similar situations -- why 
is the XA code special?

> I'm not really disputing that putting nice string messages in all our 
> thrown exceptions is bad, just that in this particular use case it's 
> probably not worth the effort.  (The effort being dealing with the fact 
> that XAException does not take an error code and string message at once.)

Put it this way: I consider generating useful exceptions a prerequisite 
for new code going into CVS.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 15:04  Vadim Nasardinov <vadimn@redhat.com>
  parent: Oliver Jowett <oliver@opencloud.com>
  1 sibling, 1 reply; 18+ messages in thread

From: Vadim Nasardinov @ 2005-07-27 15:04 UTC (permalink / raw)
  To: pgsql-jdbc

On Wednesday 27 July 2005 00:33, Oliver Jowett wrote:
> > > Having ResourceAssociationState as a full-blown class seems like
> > > overkill since you only have one instance anyway.
> > 
> > Maybe.  Java 1.4 doesn't have enums.  What do you suggest as an
> > alternative?
> 
> Just a bare int?

Java 1.4's typesafe enum pattern doesn't usually strike me as an
overkill, as long as you're aware of its problems:

  http://www.google.com/search?q=Java+typesafe+enum



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 15:47  Kris Jurka <books@ejurka.com>
  parent: Michael Allman <msa@allman.ms>
  1 sibling, 0 replies; 18+ messages in thread

From: Kris Jurka @ 2005-07-27 15:47 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: Oliver Jowett <oliver@opencloud.com>; pgsql-jdbc



On Tue, 26 Jul 2005, Michael Allman wrote:

> On Wed, 27 Jul 2005, Oliver Jowett wrote:
> 
> > We now use 4-space indents, not tabs.
> 
> I'm away from my normal dev machine and am flailing away with unfamiliar 
> tools.  Do you have a utility that will indent as desired?
> 

The source code may be indented using "astyle -j -p --convert-tabs".

Kris Jurka



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 19:40  Heikki Linnakangas <hlinnaka@iki.fi>
  parent: Michael Allman <msa@allman.ms>
  1 sibling, 1 reply; 18+ messages in thread

From: Heikki Linnakangas @ 2005-07-27 19:40 UTC (permalink / raw)
  To: Michael Allman <msa@allman.ms>; +Cc: pgsql-jdbc

On Wed, 27 Jul 2005, Michael Allman wrote:

> Anyway, I'm counting on Postgres users knowing what they're doing, esp. with 
> something as non-trivial as XA support.

We all know it's non-trivial, but it looks very innocent to the casual 
user who just registers two data sources to an application server. He
doesn't see all the transaction managers and two-phase commits involved.
To him it indeed looks trivial.

Keeping that in mind, I think it's very important to give helpful error 
messages that actually give you a clue what the problem is. That means for 
example, that if the server version is too old to use two-phase commit, 
the error message should say "Your server version is too old for two-phase 
commit", not "Error executing statement PREPARE TRANSACTION 12343242".

As pointed out elsewhere in this thread, you can set both the error code 
and the error message, just not directly in the XAException constructor. 
How about a little helper method to keep the rest of the code clean:

private static constructXAException(int errcode, String message) {
   XAException ex = new XAException(message);
   ex.errorCode = errcode;
   return ex;
}

- Heikki



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 19:56  Michael Allman <msa@allman.ms>
  parent: Heikki Linnakangas <hlinnaka@iki.fi>
  0 siblings, 0 replies; 18+ messages in thread

From: Michael Allman @ 2005-07-27 19:56 UTC (permalink / raw)
  To: Heikki Linnakangas <hlinnaka@iki.fi>; +Cc: pgsql-jdbc

On Wed, 27 Jul 2005, Heikki Linnakangas wrote:

> On Wed, 27 Jul 2005, Michael Allman wrote:
>
>> Anyway, I'm counting on Postgres users knowing what they're doing, esp. 
>> with something as non-trivial as XA support.
>
> We all know it's non-trivial, but it looks very innocent to the casual user 
> who just registers two data sources to an application server. He
> doesn't see all the transaction managers and two-phase commits involved.
> To him it indeed looks trivial.
>
> Keeping that in mind, I think it's very important to give helpful error 
> messages that actually give you a clue what the problem is. That means for 
> example, that if the server version is too old to use two-phase commit, the 
> error message should say "Your server version is too old for two-phase 
> commit", not "Error executing statement PREPARE TRANSACTION 12343242".
>
> As pointed out elsewhere in this thread, you can set both the error code and 
> the error message, just not directly in the XAException constructor. How 
> about a little helper method to keep the rest of the code clean:
>
> private static constructXAException(int errcode, String message) {
>  XAException ex = new XAException(message);
>  ex.errorCode = errcode;
>  return ex;
> }

Thanks for your feedback.

I'll upload another patchset with improved exceptions.

Michael



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 22:37  Oliver Jowett <oliver@opencloud.com>
  parent: Vadim Nasardinov <vadimn@redhat.com>
  0 siblings, 1 reply; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 22:37 UTC (permalink / raw)
  To: Vadim Nasardinov <vadimn@redhat.com>; +Cc: pgsql-jdbc

Vadim Nasardinov wrote:
> On Wednesday 27 July 2005 00:33, Oliver Jowett wrote:
> 
>>>>Having ResourceAssociationState as a full-blown class seems like
>>>>overkill since you only have one instance anyway.
>>>
>>>Maybe.  Java 1.4 doesn't have enums.  What do you suggest as an
>>>alternative?
>>
>>Just a bare int?
> 
> 
> Java 1.4's typesafe enum pattern doesn't usually strike me as an
> overkill, as long as you're aware of its problems:
> 
>   http://www.google.com/search?q=Java+typesafe+enum

Shrug, the main reason for an enum-like pattern is to get type safety,
but in this case there's only one field that ever uses the enum (and
it's never passed around as a parameter), so there's not much scope for
getting it wrong.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 23:00  Vadim Nasardinov <vadimn@redhat.com>
  parent: Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 18+ messages in thread

From: Vadim Nasardinov @ 2005-07-27 23:00 UTC (permalink / raw)
  To: pgsql-jdbc

On Wednesday 27 July 2005 18:37, Oliver Jowett wrote:
> >   http://www.google.com/search?q=Java+typesafe+enum
> 
> Shrug, the main reason for an enum-like pattern is to get type
> safety, but in this case there's only one field that ever uses the
> enum (and it's never passed around as a parameter), so there's not
> much scope for getting it wrong.

Sure, you can get it right without the added benefit of type safety,
given that the offending piece of code is completely isolated within a
single file.  (Both TransactionState and ResourceAssociationState are
private inner classes of PGXAResource.)  It's a matter of taste and I
have no vested interest in the outcome of this particular
mini-discussion.

That said, from my cursory reading of
org/postgresql/xa/PGXAResource.java, it seems to me that both
TransactionState and ResourceAssociationState instances are used as
values in a Map.  If we replace these two classes with "bare ints"
without changing the rest of the code drastically, we will have to box
those ints into Integers or suchlike before putting them into their
respective maps.  It's not then a huge leap to turn those Integers
into proper typesafe enums, as is currently done.  Seems very
reasonable to me, when viewed on its own merits.  If, however, this
goes against some established pgjdbc prejudice against typesafe enums,
then sure, nuke it.  Better be globally consistent, than locally
correct.



^ permalink  raw  reply  [nested|flat] 18+ messages in thread

* Re: jdbc xa patches
@ 2005-07-27 23:10  Oliver Jowett <oliver@opencloud.com>
  parent: Vadim Nasardinov <vadimn@redhat.com>
  0 siblings, 0 replies; 18+ messages in thread

From: Oliver Jowett @ 2005-07-27 23:10 UTC (permalink / raw)
  To: Vadim Nasardinov <vadimn@redhat.com>; +Cc: pgsql-jdbc

Vadim Nasardinov wrote:

> That said, from my cursory reading of
> org/postgresql/xa/PGXAResource.java, it seems to me that both
> TransactionState and ResourceAssociationState instances are used as
> values in a Map.

Well, I was suggesting killing that map too.

-O



^ permalink  raw  reply  [nested|flat] 18+ messages in thread


end of thread, other threads:[~2005-07-27 23:10 UTC | newest]

Thread overview: 18+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26 23:39 jdbc xa patches Michael Allman <msa@allman.ms>
2005-07-27 00:15 ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 01:26   ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 03:40     ` Michael Allman <msa@allman.ms>
2005-07-27 04:35       ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 05:13         ` Michael Allman <msa@allman.ms>
2005-07-27 05:33           ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 03:28   ` Michael Allman <msa@allman.ms>
2005-07-27 04:33     ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 05:09       ` Michael Allman <msa@allman.ms>
2005-07-27 05:27         ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 19:40         ` Heikki Linnakangas <hlinnaka@iki.fi>
2005-07-27 19:56           ` Michael Allman <msa@allman.ms>
2005-07-27 15:04       ` Vadim Nasardinov <vadimn@redhat.com>
2005-07-27 22:37         ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 23:00           ` Vadim Nasardinov <vadimn@redhat.com>
2005-07-27 23:10             ` Oliver Jowett <oliver@opencloud.com>
2005-07-27 15:47     ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox