]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: raise OperationalError instead of MemoryError on several operations
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 23 Dec 2022 18:04:14 +0000 (18:04 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 29 Dec 2022 04:08:21 +0000 (04:08 +0000)
commit340f6bc6115e5b05174f3c793041b61e99432886
treeffc15168fde7fca2d66ac827f97b182b83841d78
parent4ac110fdacfb27835f5af6c5113e93cd474112c6
fix: raise OperationalError instead of MemoryError on several operations

Failure is related to the operation executed, not to memory not
available to store the result.
psycopg/psycopg/pq/pq_ctypes.py
psycopg_c/psycopg_c/pq/pgconn.pyx