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: pool-3.2.0~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea350698605972d9f941701f3c0e7057c911face;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 5255c149f..16165891e 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