From ba1e959e5316a8c17ca80dca950574038bd650c4 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 18 Aug 2015 11:33:56 -0400 Subject: - document workaround type for ARRAY of ENUM, fixes #3467 --- lib/sqlalchemy/dialects/postgresql/array.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sqlalchemy/dialects/postgresql/array.py') diff --git a/lib/sqlalchemy/dialects/postgresql/array.py b/lib/sqlalchemy/dialects/postgresql/array.py index 8c63b43ce..84bd0ba92 100644 --- a/lib/sqlalchemy/dialects/postgresql/array.py +++ b/lib/sqlalchemy/dialects/postgresql/array.py @@ -203,6 +203,10 @@ class ARRAY(sqltypes.Indexable, sqltypes.Concatenable, sqltypes.TypeEngine): The :class:`.ARRAY` type may not be supported on all DBAPIs. It is known to work on psycopg2 and not pg8000. + Additionally, the :class:`.ARRAY` type does not work directly in + conjunction with the :class:`.ENUM` type. For a workaround, see the + special type at :ref:`postgresql_array_of_enum`. + See also: :class:`.postgresql.array` - produce a literal array value. -- cgit v1.2.1