-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add support for PostgreSQL 12 #86
Conversation
40f57f5
to
031ddce
Compare
7b8170a
to
b128904
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.
This is looking good, are there any other changes needed? See my question about the necessity of the NullableDatum
with Option<Datum>
instead?
f37e82d
to
afc69c6
Compare
This is what I came up with. Is this what you had in mind? I also tried to make |
3ac66ae
to
bf1eab7
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.
We don't want to add pg-extend/src/postgres.rs
to the repo, do we?
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 looking really good. I didn’t see the memory context issue that you mentioned. If it’s still giving you trouble ping me on discord.
That’s basically there to keep Rust’s lifetimes in sync with the pg memory contexts.
bf1eab7
to
f6f76b1
Compare
4ce465b
to
96b692f
Compare
PostgreSQL 12 brings changes to FunctionCallInfoData (the way arguments are passed to functions). Upstream commit: postgres/postgres@a9c35cf
96b692f
to
3c625d8
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.
Looks good to me.
@intgr if you think this is ready, it looks good to merge, I’ll do that in a little bit. |
Thanks for this, @intgr ! |
PostgreSQL 12 brings changes to
FunctionCallInfoData
(the way argumentsare passed to functions) and the FDW API.
This pull request:
Upstream commit:
postgres/postgres@a9c35cf
fixes: #95