]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add a qualifying character to multi INSERT..VALUES parameter names
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Oct 2016 15:07:14 +0000 (11:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Oct 2016 16:14:41 +0000 (12:14 -0400)
commitf917b353e88aa11d0efff1dc8bf1dbd079d57efb
tree8ee2d25278b63f8009cbd77a9a53da1770330567
parent8ef4f6a53864ce9c57c4879d6b2aa0f81ddbf596
Add a qualifying character to multi INSERT..VALUES parameter names

Changed the naming convention used when generating bound parameters
for a multi-VALUES insert statement, so that the numbered parameter
names don't conflict with the anonymized parameters of a WHERE clause,
as is now common in a PostgreSQL ON CONFLICT construct.

Change-Id: I3188d100fe4d322a47d344d6a63d3e40b915f228
Fixes: #3828
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/sql/crud.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_on_conflict.py
test/sql/test_insert.py