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

Postgres date-time types #2890

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

itowlson
Copy link
Contributor

@itowlson itowlson commented Oct 17, 2024

This is based on @tyler-harpool's work in #2865. I've migrated it to the new v3 world and the new package structure, and implemented it into the Postgres factor.

So far this has not yet been tested (the kindest thing that can be said about it is that it compiles... on my machine). I'm putting the draft PR up so that Rust and Wasm gurus can suggest easier/terser ways of doing things.

@tyler-harpool, I hope you don't feel this is treading on your toes, but some of the migration stuff was a bit tricky and tedious, and I really wanted to get a handle on what implementing an interface upgrade was going to look like. I apologise in advance if I have caused any upset. Also if you have any feedback on the way I've implemented the new types (see the to_sql_parameter function in client.rs) then that would be super useful as I'm not very au fait with the specifics of Postgres types! Thanks!

@itowlson
Copy link
Contributor Author

related: #2870

@tyler-harpool
Copy link

tyler-harpool commented Oct 17, 2024

Happy @itowlson to see you take this on.

Edit: The client stuff was tedious. I was getting close to figuring out, but your legendary skills are the goal for me. Not there yet.

@itowlson itowlson marked this pull request as ready for review October 17, 2024 22:43
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

Successfully merging this pull request may close these issues.

2 participants