PostgreSQL dates beyond the range of Python dates

17 views
Skip to first unread message

Tony Locke

unread,
Jul 4, 2014, 5:10:12 PM7/4/14
to pg8...@googlegroups.com
Hi, I think this mailing list was originally set up for the Google Code fork of pg8000. Is it okay to use it for the original pg8000 at https://github.com/mfenniak/pg8000 ?

There have been a couple of posts asking about dates returned from PostgreSQL that are outside the range of the Python datetime type:

http://stackoverflow.com/questions/24307420/sqlalchemy-bc-dates-with-postgresql
https://github.com/mfenniak/pg8000/issues/42

I propose having a type within pg8000 that handles 'big dates'. It could inherit from datetime.datetime.

What do people think?

Cheers,

Tony.
Reply all
Reply to author
Forward
0 new messages