]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
pop the stack that we pushed
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Mar 2022 18:40:12 +0000 (13:40 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Mar 2022 18:41:29 +0000 (13:41 -0500)
commit26b819e534bd51e32e31a1e3324d4a1e7b849d67
treeb7057c6e173d093bad4c5a53134628b40166c2ff
parente4caa9668c3b7797290a9c0150e69b51489d75fe
pop the stack that we pushed

Fixed regression caused by :ticket:`7760` where the new capabilities of
:class:`.TextualSelect` were not fully implemented within the compiler
properly, leading to issues with composed INSERT constructs such as "INSERT
FROM SELECT" and "INSERT...ON CONFLICT" when combined with CTE and textual
statements.

Fixes: #7798
Change-Id: Ia2ce92507e574dd36fd26dd38ec9dd2713584467
(cherry picked from commit c36965ab211183764357456fff1640418586ed97)
doc/build/changelog/unreleased_14/7798.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/dialect/postgresql/test_compiler.py
test/sql/test_cte.py