That might be tricky...  See https://github.com/lpsmith/postgresql-simple/pull/115, it seems like it is not trivial to get the conversions to haskell types correct.

Look like I am back to native SQL for that one.  

On Tuesday, December 30, 2014 9:03:32 PM UTC+11, Tom Ellis wrote:
On Sun, Dec 28, 2014 at 10:01:27PM -0800, in...@rotnetix.com wrote:
> Another opaleye question:
> What type should I use for the postgresql interval type?

It seems that postgresql-simple doesn't support the interval type so the
first step would be to get it added there.

Tom
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe