Andrew Svetlov

Results 374 comments of Andrew Svetlov

IIRC the issue is: `psycopg2` provides `connection.set_isolation_level()` setter for changing the connection state. The setter doesn't work in async mode. When I tried it last time 4 years ago an...

Don't know why DNS resolving doesn't work on your box. Honestly I don't want to change example -- `localhost` should work even on IPv6 system.

Did you try to connect using bare `psycopg2`? I suspect you'll get the same result as `aoipg`: `aiopg` has no connection code but the library calls `psycopg2` to do the...

@errx I guess that remove-and-readd is required only if fileno() is changed. Anyway, thank you very much! Would you provide a PR? Should be easy now, after your investigation. It...

@errx can you confirm that `fd` is not changed?

Looks pretty good! Would you make Pull Request?

@bitrut both your examples are correct on first glance

I can take a look in a few days