summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-01-02 11:26:37 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-01-02 11:26:37 -0500
commita94f2f81afc859ea4553037cc12734311c8328b0 (patch)
tree20f43cedbe6968e86d296910f879df6b5cc8ccc5 /lib/sqlalchemy/dialects/postgresql/base.py
parent14528afd6f080cf18028f7f71992ef5c14437907 (diff)
downloadsqlalchemy-a94f2f81afc859ea4553037cc12734311c8328b0.tar.gz
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.
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py2
1 files changed, 1 insertions, 1 deletions
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