Hi,

Is it possible to define a custom type and (somehow) bind it to SQLAlchemy so that these are recognized when autoload=True is set?

Specifically, I'm trying to autoload from a PostgreSQL database and getting this error:

    coltype = ischema_names[type]
KeyError: 'interval'

Of course, I'm assuming it's because SQLAlchemy does not know about the INTERVAL data type.

I've look at  http://www.sqlalchemy.org/docs/index.myt?paged=no#types which discusses how to define new types. But my question is, how does one inform SQLAlchemy about the new types so that it gets recognized at autoload?

Thanks again,
Mark
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to