]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: add test to verify the wrong array oid with numbers
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 5 May 2022 21:04:10 +0000 (23:04 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 8 May 2022 19:11:44 +0000 (21:11 +0200)
commit8e08604191b7764db38276c1d2961a58d3d003bf
tree495de9a7e18e8964e55225eed1435650f02f9d3f
parent73f2086363ff8a0d07611afee968ded59b7ab13f
test: add test to verify the wrong array oid with numbers

The array binary dumper does the right thing; the text one picks
numeric[] unconditionally. It was clearly made on purpose, but #293
shows that it's a bad idea.
tests/types/test_array.py