diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 9bfde4768..999452804 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -2401,10 +2401,11 @@ class PGCompiler(compiler.SQLCompiler): return tmp - def returning_clause(self, stmt, returning_cols): - + def returning_clause( + self, stmt, returning_cols, *, populate_result_map, **kw + ): columns = [ - self._label_returning_column(stmt, c) + self._label_returning_column(stmt, c, populate_result_map) for c in expression._select_iterables(returning_cols) ] |