[DB-SIG] WHat's the status of DB modules and datetime.py support?
Simon Willison
cs1spw at bath.ac.uk
Tue Dec 30 16:48:11 EST 2003
Federico Di Gregorio wrote:
> right now psycopg allow user code to hook a conversion function into its
> typecasting machinery. you can ask psycopg "when you encounter a date
> just call my function and use the result". that means you can have right
> now 2.3's datetime objects.
That sounds ideal - we can use a custom conversion function for the
moment and upgrade to psycopg2 in a month or so. Thanks for the tip.
More information about the DB-SIG
mailing list