]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Allow some form of dumping lists of mixed types
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 26 Jul 2021 18:56:59 +0000 (20:56 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 26 Jul 2021 18:59:37 +0000 (20:59 +0200)
commitcd594df2bdb0572ab07e7ab08eff5d88cb6b4ea3
tree87cf2a0ba84107223e66a97060868ec21214c890
parentb574a6492f038ace088038d0c43d9aaa614d2ed3
Allow some form of dumping lists of mixed types

Lists of numbers are now dumped as numeric[].

Default to dump text for arrays.
psycopg/psycopg/types/array.py
tests/test_adapt.py
tests/types/test_array.py
tests/types/test_range.py