Am 22.11.2010 16:09, schrieb John Fabiani: > > What is the data type returned from psycopg? If you review what is being done > in dbPostgres.py (that is where the python data types are being set) it might > be possible to add the data type. > Psycopg returns datetime.timedelta, and this isn't always right (interval values of one or more months or years). I'm using the version that comes with Ubuntu, so it's probably compiled without mx support, even if mx is installed.
For my applications I would be quite happy to treat interval values as strings throughout the program and to have the database do all calculations with them. But I don't know how to get my bizobj to do that. Greetings Sibylle _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
