[sqlalchemy] Re: Interval and mx.TimeDelta

2008-05-30 Thread coder_gus
Probably you could get away with import psycopg2.extensions psycopg2.extensions.register_type(psycopg2._psycopg.MXDATETIME) psycopg2.extensions.register_type(psycopg2._psycopg.MXINTERVAL) psycopg2.extensions.register_type(psycopg2._psycopg.MXDATE) psycopg2.extensions.register_type(psycopg2._psyc

[sqlalchemy] Re: Interval and mx.TimeDelta

2008-05-29 Thread Michael Bayer
my understanding is that mx is no longer supported with psycopg2. You might want to ask on their list; SA just passes through objects for PG's date/time types. On May 29, 2008, at 2:27 PM, Eoghan Murray wrote: > > Hi, > > I'm trying to use mx.TimeDelta instead of datetime.timedelta on an >