DateRange with mx.Date - Mailing list psycopg

From Tilman Koschnick
Subject DateRange with mx.Date
Date
Msg-id 1435230490.6368.7.camel@mother.subnetz.org
Whole thread Raw
Responses Re: DateRange with mx.Date
List psycopg
Hi,

is there a way to adapt extras.DateRange to use extensions.MXDATE as a
typecaster and accept/return mx.Date values directly?

From the documentation, I couldn't make out how to do this using
register_range(). I do not want to create a new range type within the
database, just change the python type returned.

Kind regards, Til



psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Psycopg 2.6.1 released
Next
From: Daniele Varrazzo
Date:
Subject: Re: DateRange with mx.Date