diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 1bc4409f2..e25ec9aea 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -2085,7 +2085,7 @@ class PGDialect(default.DefaultDialect):          attype = re.sub(r'\(.*\)', '', format_type)          # strip '[]' from integer[], etc. -        attype = re.sub(r'\[\]', '', attype) +        attype = attype.replace('[]', '')          nullable = not notnull          is_array = format_type.endswith('[]') | 
