[Haskell-cafe] Postgresql Intervals with Opaleye

info at rotnetix.com info at rotnetix.com
Wed Dec 31 00:59:29 UTC 2014


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... at rotnetix.com <javascript:> 
> 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... at haskell.org <javascript:> 
> http://www.haskell.org/mailman/listinfo/haskell-cafe 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141230/1fa26bbd/attachment-0001.html>


More information about the Haskell-Cafe mailing list