From: Daniele Varrazzo Date: Sun, 9 Apr 2023 18:59:55 +0000 (+0200) Subject: fix: don't use select as wait function if possible X-Git-Tag: 3.1.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b347bfe483c9f5661e0611229378c06518d952c7;p=thirdparty%2Fpsycopg.git fix: don't use select as wait function if possible select is marginally faster than others, but has the limitation of not allowing FD > 1024, so it is not a good default. If people need performance, they will use wait_c anyway, which is based on poll, and doesn't have the limitation. --- diff --git a/docs/news.rst b/docs/news.rst index 2b80e05d4..b76a97305 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -15,6 +15,8 @@ Psycopg 3.1.9 (unreleased) - Fix `TypeInfo.fetch()` using a connection in `!sql_ascii` encoding (:ticket:`#503`). +- Fix "filedescriptor out of range" using a large number of files open + in Python implementation (:ticket:`#532`). - Fix canceling running queries on process interruption in async connections (:ticket:`#543`). - Fix loading ROW values with different types in the same query using the