Re:Back to basics: Writing an application using Go and Postg...
by benhoyt on Monday November 22, 2021 @07:04PM
(#29313115)
I haven't used pgx -- can you give some specifics of the issues with dates/times or other rough edges?
[ Parent
| on HN ]
Re:Back to basics: Writing an application using Go and Postg...
by candiddevmike on Monday November 22, 2021 @09:06PM
(#29313847)
The way it parses dates using Unix time causes issues when you compare the values returned due to Go setting the location property:
https://github.com/jackc/pgx/issues/863
pgx doesn't seem to handle reconnects the same way lib/pg does, but I haven't tested this recently: https://github.com/jackc/pgx/issues/672