-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
secure_server
example causes psql and pgcli to segfault
#154
Comments
hi @samuelcolvin , thank you for reporting. I just reproduced this issue from my local environment. It's because pgcli sends sql query
So it's unexpected for pgcli and the error is thrown. But it doesn't block you from further usage of pgcli and pgwire example. |
Thanks, what about the segmentation fault from |
To be clear, I don't think the error is just from the unexpected query response - I've seen that too and it causes python exceptions. But not errors in the C code, also it doesn't explain the error from psql. |
That's weird I cannot reproduce it with psql 16.1 on archlinux.
|
And off-topic, I'm curious that are you investigating pgwire for some new idea/project? |
For the
|
I'm on main, currently 30707e1, I can run the
secure_server
example withThen try to connect with psql, and I get the following:
Similarly if I try to connect with pgcli, I get:
I'm not quite sure what's causing this behavior, or what to try next, but I thought it would be worthwhile reporting the issue.
The text was updated successfully, but these errors were encountered: