]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: raise DataError instead of OverflowError loading intervals too large
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Jun 2022 22:12:20 +0000 (00:12 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 8 Jun 2022 23:01:57 +0000 (01:01 +0200)
commitb68e87c8275decd055344d85abf762bba4f6fefe
tree9be7955f9174d5fcf8e3c52e087efa33683224e4
parent14ae78bc23d9cad040c788ab4bd6b93970e3b89d
fix: raise DataError instead of OverflowError loading intervals too large

This happened only for the binary format, not the text format.
docs/news.rst
psycopg/psycopg/types/datetime.py
psycopg_c/psycopg_c/types/datetime.pyx
tests/types/test_datetime.py