[PyGreSQL] PyGreSQL changes to integrate with SQLAlchemy

Christoph Zwerschke cito at online.de
Mon Feb 15 15:22:18 EST 2010


Am 15.02.2010 18:00 schrieb Michael Dominice:
> I had been attempting to write the code using Psycopg2 as the Postgres
> driver for SQLAlchemy and was able to reflect my schema without
> hang-ups, but wanted to try using PyGreSQL. My first attempt at
> replacing the driver and reflecting my schema resulted in the following
> error:

Thanks for the detailed report, Michael. I think it's a bug in 
SQLAlchemy, even in the latest SQLAlchemy 0.5.8 version, and have 
already suggested a patch (http://www.sqlalchemy.org/trac/ticket/1691).

I will check if we can silently ignore such errors in PyGreSQL (as 
psycopg2 seems to do), or at least do it in this special case.

Btw, did you get it running with the current SQLAlchemy 0.6 beta? It 
seems you can now indicate the driver in the url, but so far it 
recognizes only psycopg2 and pg8000.

-- Christoph


More information about the PyGreSQL mailing list