You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the 32-bit time has less resolution than the 64-bit build. The time format used in the 64-bit build is "2006-01-02 15:04:05.000000-07" while the format returned in 32-bit builds is "2006-01-02 15:04:05.00000-07" (five zeros in the decimal portion instead of six).
I am having difficulty narrowing it down to PostgreSQL or the library. Either way, my development machines is CentOS 6.3 64-bit and my production machine is Centos 6.4 32-bit. Both systems are using PostgreSQL 8.4.12. The built binary runs fine on my development machine, but fails on the production machine. Here is the error:
parsing time "2012-08-31 21:08:57.37711+00" as "2006-01-02 15:04:05.000000-07": cannot parse "00" as ".000000"
I scan the values into object variables and then parse the text (time.Parse()) to get a time.Time object. I really need to use the time.Time stuff for math reasons.
Please let me know if there's any further information I can provide to resolve this. Thanks!
The text was updated successfully, but these errors were encountered:
It appears that the 32-bit time has less resolution than the 64-bit build. The time format used in the 64-bit build is "2006-01-02 15:04:05.000000-07" while the format returned in 32-bit builds is "2006-01-02 15:04:05.00000-07" (five zeros in the decimal portion instead of six).
I am having difficulty narrowing it down to PostgreSQL or the library. Either way, my development machines is CentOS 6.3 64-bit and my production machine is Centos 6.4 32-bit. Both systems are using PostgreSQL 8.4.12. The built binary runs fine on my development machine, but fails on the production machine. Here is the error:
parsing time "2012-08-31 21:08:57.37711+00" as "2006-01-02 15:04:05.000000-07": cannot parse "00" as ".000000"
I scan the values into object variables and then parse the text (time.Parse()) to get a time.Time object. I really need to use the time.Time stuff for math reasons.
Please let me know if there's any further information I can provide to resolve this. Thanks!
The text was updated successfully, but these errors were encountered: