]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support multidimensional array literals in Postgresql
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Jul 2019 19:46:35 +0000 (15:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Jul 2019 20:22:04 +0000 (16:22 -0400)
commit6e0fcfd5603f958520a5d01275777945478a3685
tree186d730301d4e7f34c2382a46f5f0a44f74fbf2b
parent375c91b591b3242a37f457da4c8f5fcdb8d42580
Support multidimensional array literals in Postgresql

Added support for multidimensional Postgresql array literals via nesting
the :class:`.postgresql.array` object within another one.  The
multidimensional array type is detected automatically.

Fixes: #4756
Change-Id: Ie2107ad3cf291112f6ca330dc90dc15a0a940cee
(cherry picked from commit 6bc7e0bfa9cd284e439c3b7ea67ab53014ac2773)
doc/build/changelog/unreleased_13/4756.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/array.py
test/dialect/postgresql/test_types.py