]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(numpy): fix dumpers registration order
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 17 Dec 2022 03:47:18 +0000 (03:47 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 5 Aug 2023 14:21:30 +0000 (15:21 +0100)
commit7bd6330501f9d4cf99f6e59c24e5409203c3cf62
tree389c4479f6982d8e22fb9b42d7e6d6bea457173a
parenta74c66eea8035c576a2c5a55a89769e04c8dc44f
fix(numpy): fix dumpers registration order

If numpy dumpers are registered after numeric ones, then NPNumericBinaryDumper
is used instead of NumericBinaryDumper when looking up by oid. This
breaks dumping values with a decimal part.
psycopg/psycopg/postgres.py