diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/ext.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/ext.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/ext.py b/lib/sqlalchemy/dialects/postgresql/ext.py index 71a0aa5a6..959e6597b 100644 --- a/lib/sqlalchemy/dialects/postgresql/ext.py +++ b/lib/sqlalchemy/dialects/postgresql/ext.py @@ -57,6 +57,7 @@ class aggregate_order_by(expression.ColumnElement): def __init__(self, target, *order_by): self.target = coercions.expect(roles.ExpressionElementRole, target) + self.type = self.target.type _lob = len(order_by) if _lob == 0: |