Closed bvanelli closed 2 months ago
Here is the diff between the versions: https://github.com/psycopg/psycopg2/compare/2.9.6..2.9.7
Possible causes:
1_1_1t
to 1_1_1v
15_0
to 15_3
{ goto exit; }
to { goto error; }
on psycopg/psycopgmodule.c
Usually on macOS it is some exotic connection method timing out, such as GSS. See #1645 for example.
Thanks @dvarrazzo , I tried looking for a related issue yesterday but I could not find anything, this issue you mentioned is exactly what was needed.
For anyone that may com to this thread, the solution was to go to Ticket Viewer and remove all entries. It had some expired tickets:
Not it connects as expected 👍
This is a bug tracker
Please complete the following information:
Describe the bug
I noticed the hanging of psycopg2-binary starting from version 2.9.6. Here is the script I used (pg must be started via docker):
Seems like this bug was introduced in version 2.9.7, here are the outputs:
With debug I could go as far as the Python wrapper goes, up to the call:
Could this somehow be unrelated to the python wrapper, but rather to the libpg under it?