aelve / guide

A workspace for research teams
https://guide.aelve.com
106 stars 10 forks source link

Load into postgres and check it. #383

Closed willbasky closed 5 years ago

willbasky commented 5 years ago

[Tue Aug 20 07:34:12:321331471000 UTC 2019] Debug: | Cat: AcidState == Postgres: False

Why? Reason is in difference of length miliseconds integer between Haskell UTCTime and Postgres timestamptz. For example:

Acid
[ Category 
    { categoryUid = "dyzqbo3k" 
    , categoryTitle = "cabal" 
    , categoryCreated = 2019-08-20 04:57:25.063201537 UTC
...

and

Postgres
[ Category 
    { categoryUid = "dyzqbo3k" 
    , categoryTitle = "cabal" 
    , categoryCreated = 2019-08-20 04:57:25.063201 UTC