]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
PostgreSQL / SQLite / Insert.on_conflict_do_update: respect compile_kwargs
authorLoïc Simon <loic.simon@napta.io>
Thu, 5 Feb 2026 19:56:26 +0000 (14:56 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Feb 2026 20:08:10 +0000 (15:08 -0500)
commit6b09777e3d1ef35eb0ed07843b51d1a525702b79
tree17b7458a480365403fc22feb060413febf2f76b6
parentabaeb00888deb4431f0691536c5ac9c763a3e7e1
PostgreSQL / SQLite / Insert.on_conflict_do_update: respect compile_kwargs

Fixed issue where :meth:`_postgresql.Insert.on_conflict_do_update`
as well as  :meth:`_sqlite.Insert.on_conflict_do_update`
parameters were not respecting compilation options such as
``literal_binds=True``.

Pull request courtesy Loïc Simon.

Fixes: #13110
Closes: #13111
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/13111
Pull-request-sha: 9ca251610b2eb1c5fdda6aeffa6e81dcaef23aaa

Change-Id: Ice21e508210d682098104c78e77bad8d24e6c93f
doc/build/changelog/unreleased_20/13110.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/postgresql/test_compiler.py
test/dialect/sqlite/test_compiler.py