Closed bssstudio closed 8 years ago
Does not build because the relational-query needs the stuff changed in sql-words package.
I think this fix has a problem. UTCTime values are always expanded into TIMESTAMPTZ literal. TIMESTAMPTZ literal is NOT standard in SQL.
Adding instance of ZonedTime type is acceptable. How about this?
If ZonedTime instances were added, that would be sufficient, as UTCTime can be converted into ZonedTime (datetime+0000).
Would ZonedTime still be expanded into TIMESTAMPTZ?
Merged. I think about this fix for a while, and I can accept this with additional comment about UTCTime instance.
This PR adds the TIMEZONETZ keyword and adds appropriate instances for haskell time types ZonedTime and UTCTime.