-
Notifications
You must be signed in to change notification settings - Fork 95
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
fix(c/driver/postgresql): Fix segfault associated with uninitialized copy_reader_ #964
Conversation
…chema to prevent segfault
Why isn't the reader initialized, though? We shouldn't be returning a bad stream to the client in the first place. |
…GetSchema to Release to fix the segfault
Also for the PR description please specifically use |
…t about clearing copy reader that no longer applies
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!
Hmm, it seems to have broken one of the examples. Does python/recipe/postgresql_create_append_table.py work for you? |
I get:
On both v10 and v11 (the example segfaults as expected in v10 on main). I'll take a look as to why |
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.
Can you update the PR title?
Fixes #958.