-
Notifications
You must be signed in to change notification settings - Fork 99
Move CPP functions wrapper to dedicated file #452
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
Conversation
44dbe37
to
5e6186a
Compare
4105f3e
to
0f116cc
Compare
5e6186a
to
4649506
Compare
4649506
to
3dcf221
Compare
3dcf221
to
3ce1777
Compare
3ce1777
to
40c7cb1
Compare
edata = CopyErrorData(); | ||
FlushErrorState(); |
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.
Semi-related: These two calls should probably also have a PG_TRY around around them in case they fail.
Seems better for a follow-up PR though.
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.
I can look into this. Will be pretty bad if we hit this though, not sure how we can nicely recover :-)
Move CPP function wrapper to dedicated file.
Next, will do the same for the PG wrapper.