Re: [sqlalchemy] how can I tell if an engine supports two phase commit?

2010-06-01 Thread Chris Withers
Michael Bayer wrote: engine.dialect.name in ('postgresql', 'mysql') Heh, so no API to future proof my code for when the Oracle connector becomes 2 phase? ;-) Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- You recei

Re: [sqlalchemy] how can I tell if an engine supports two phase commit?

2010-06-01 Thread Michael Bayer
engine.dialect.name in ('postgresql', 'mysql') On Jun 1, 2010, at 6:51 AM, Chris Withers wrote: > if 'sqlite' not in str(engine.url) > > ...seems a little clunky to me ;-) > > Chris > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To

[sqlalchemy] how can I tell if an engine supports two phase commit?

2010-06-01 Thread Chris Withers
if 'sqlite' not in str(engine.url) ...seems a little clunky to me ;-) Chris -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalche