]> 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:09:54 +0000 (15:09 -0500)
commit03b4136f35cf16a442d8e876dd493ab0c6438c6a
treef505d37970e6c39f6bfb0a65f8afc089ef735989
parent1e6b43bfbab5f43d53184bb9120237a3e797f2d5
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
(cherry picked from commit 6b09777e3d1ef35eb0ed07843b51d1a525702b79)
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