-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
pgwire: python3 py-postgresql driver error #13191
Comments
Hi @catroot, thanks for your report. I've been able to reproduce your issue - we'll investigate this soon. In the meantime, |
This seems to be a small bug in |
This will also be fixed by #13009. |
Thank you. |
Bilal take a look #13009 for the discussion on how cancellation can fix this issue. Assigning to you. Thanks! |
Unfortunately, this isn't going to make it into 2.0 either. In 2.1, we should look at @asubiotto's recommended approach from #13009 - to send a random query id to just unstick problems with the protocol. Cancellation won't work against that query id, but at least drivers like this one will be able to connect. |
cc @BramGruneir to integrate in the meta lists |
Hey @rafiss, could we fix this one by issuing a BackendKeyData response with obviously wrong values like 0, 0? Or will that cause issues for clients? I feel like it could be fine - clients already receive an error when trying to cancel a query using the Postgres cancellation protocol, so if they tried to use our obviously false BackendKeyData after such a PR no behavior would really change... |
@jordanlewis Sorry I missed your message in October! I think we could use an approach like that. Looks like that's what #13009 did, but it didn't reach the finish line. I don't quite understand why not, but I am in favor of bringing it back for the 21.1 release. |
Tried to connect using py-postgresql driver
The text was updated successfully, but these errors were encountered: