Re: [DB-SIG] DBAPI two phase commit implementation in psycopg2

2010-09-28 Thread Daniele Varrazzo
On Tue, Sep 28, 2010 at 8:09 AM, James Henstridge wrote: > When writing the TPC additions for the spec, I did take PostgreSQL > into account (I thought I'd have time to write the psycopg2 > implementation back then).  The reasoning for using the three part > identifiers was that the XA-style iden

Re: [DB-SIG] DBAPI two phase commit implementation in psycopg2

2010-09-28 Thread James Henstridge
On Sat, Sep 25, 2010 at 12:04 AM, Daniele Varrazzo wrote: > On Fri, Sep 24, 2010 at 9:48 AM, M.-A. Lemburg wrote: > >> I'd also look around to check how other tools that interoperate with >> PG in two-phase commits handle this. XA is a widely used standard >> in the industry, so I assume the prob

Re: [DB-SIG] DBAPI two phase commit implementation in psycopg2

2010-09-24 Thread Daniele Varrazzo
On Fri, Sep 24, 2010 at 9:48 AM, M.-A. Lemburg wrote: > I'd also look around to check how other tools that interoperate with > PG in two-phase commits handle this. XA is a widely used standard > in the industry, so I assume the problem must have popped up > elsewhere as well. MySQL uses a XA mod

Re: [DB-SIG] DBAPI two phase commit implementation in psycopg2

2010-09-24 Thread M.-A. Lemburg
Daniele Varrazzo wrote: > Hello, > > I've recently joined the db-sig ML, and I've read the threads about > the two phase commit interface design of Jan 2008. > > I'd like to implement the DBAPI TPC extension in psycopg2: I'm > considering the best way to overcome the slight model difference > bet

[DB-SIG] DBAPI two phase commit implementation in psycopg2

2010-09-22 Thread Daniele Varrazzo
Hello, I've recently joined the db-sig ML, and I've read the threads about the two phase commit interface design of Jan 2008. I'd like to implement the DBAPI TPC extension in psycopg2: I'm considering the best way to overcome the slight model difference between the XA-inspired DBAPI and the Postg