-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Made SPI query arguments type safe #1858
Made SPI query arguments type safe #1858
Conversation
|
I guess it's leftover from the time when I tried to play with generics and avoid a breaking change. That was required by the compiler for the type deduction, but can be reduced now. |
I appreciate your efforts on this area of pgrx, btw. Spi is incredibly hard to get right in C, and it’s not any easier in Rust. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really nice, @YohDeadfall. Really nice.
Very clean.
Like @workingjubilee said somewhere, I think we'd want to hold this for v0.13, but I think this PR is a motivator for getting there quickly.
@YohDeadfall Can you resolve the conflicts? |
Sure! Actually, I just wanted to write you about this pull request too (: |
df050ab
to
56ceb56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.