Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialization of timestamp fields fails #54

Open
Jurshsmith opened this issue Dec 30, 2023 · 0 comments
Open

Deserialization of timestamp fields fails #54

Jurshsmith opened this issue Dec 30, 2023 · 0 comments
Milestone

Comments

@Jurshsmith
Copy link
Member

Action: Investigate tokio-postgres.

Analysis: Timestamp fields should be encoded as serde::Value::String("\"<value>\"") -- the inner extra quotes are essential for serde to reach an agreement with chrono when deserializing. However, it seems tokio-postgres somehow gets rid of those extra quotes when converting a Row to its equivalent serde::Value.

@Jurshsmith Jurshsmith added this to the v0.2 milestone Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant