From b347bfe483c9f5661e0611229378c06518d952c7 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 9 Apr 2023 20:59:55 +0200 Subject: [PATCH] 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. --- docs/news.rst | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.2