From a94f2f81afc859ea4553037cc12734311c8328b0 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 2 Jan 2013 11:26:37 -0500 Subject: Fixed bug in :func:`.postgresql.array` construct whereby using it inside of an :func:`.expression.insert` construct would produce an error regarding a parameter issue in the ``self_group()`` method. --- lib/sqlalchemy/dialects/postgresql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/dialects/postgresql') diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 8866b6996..81d2079c0 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -411,7 +411,7 @@ class array(expression.Tuple): for o in obj ]) - def self_group(self, against): + def self_group(self, against=None): return self -- cgit v1.2.1