From: Daniele Varrazzo Date: Wed, 12 Jun 2024 17:02:58 +0000 (+0200) Subject: fix: fix PQclosePortal not supported error message X-Git-Tag: 3.2.0~16 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=de8e0051a55b20a39b34c6799dcbc5bf2fad8366;p=thirdparty%2Fpsycopg.git fix: fix PQclosePortal not supported error message --- diff --git a/psycopg/psycopg/pq/_pq_ctypes.py b/psycopg/psycopg/pq/_pq_ctypes.py index f157e1ce0..f3a7b143f 100644 --- a/psycopg/psycopg/pq/_pq_ctypes.py +++ b/psycopg/psycopg/pq/_pq_ctypes.py @@ -323,7 +323,7 @@ if libpq_version >= 170000: else: PQclosePrepared = not_supported_before("PQclosePrepared", 170000) - PQclosePortal = not_supported_before("PQclosePrepared", 170000) + PQclosePortal = not_supported_before("PQclosePortal", 170000) PQresultStatus = pq.PQresultStatus PQresultStatus.argtypes = [PGresult_ptr]