diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2022-06-05 20:40:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2022-06-05 20:40:41 +0000 |
commit | 6e538cf64adfef7f604e3b0d976405a27b8e3d27 (patch) | |
tree | e147e056f50e353887429fa67fda79928e06c437 /lib/sqlalchemy/dialects/postgresql/psycopg2.py | |
parent | 1508aed47261fe17180aa12fb312aebb0dd3c615 (diff) | |
parent | 466ed5b53a3af83f337c93be95715e4b3ab1255e (diff) | |
download | sqlalchemy-6e538cf64adfef7f604e3b0d976405a27b8e3d27.tar.gz |
Merge "Generalize RETURNING and suppor for MariaDB / SQLite" into main
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index f5d84a5a3..3f4ee2a20 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -613,7 +613,7 @@ class PGDialect_psycopg2(_PGDialect_common_psycopg): # PGDialect.initialize() checks server version for <= 8.2 and sets # this flag to False if so - if not self.full_returning: + if not self.insert_returning: self.insert_executemany_returning = False self.executemany_mode = EXECUTEMANY_PLAIN |