]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: shorter traceback even on COPY statement error
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 20 May 2022 08:55:17 +0000 (10:55 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 20 May 2022 08:55:17 +0000 (10:55 +0200)
commitfc1f666aa3565a42a05dd22fe69f98ffdd09d8c4
treee16ad7a29003a6bc354a1a5a328618637f5830ce
parent79c14f47f2068cd568ee8b50df79090f16a3f9c5
fix: shorter traceback even on COPY statement error

The previous commit only addressed errors raised during transferring
data, not the initial COPY statement.
psycopg/psycopg/cursor.py
psycopg/psycopg/cursor_async.py