On Thu, 26 Mar 2015, Adam Mackler wrote:
> Is is possible to use the PGInterval class to parse interval literals
> in the format that a server with intervalstyle set to iso_8601
> produces? If so, how? If not, why not, and why is no exception
> raised when trying to do so?
>
No it's not currently possible. The PGInterval class was written prior to
the intervalstyle parameter being added in 8.4 and was never updated to
account for intervals in 8601 format.
Kris Jurka