]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add CTE prefixes
authorMarat Sharafutdinov <decaz89@gmail.com>
Wed, 18 Dec 2019 15:39:59 +0000 (10:39 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Dec 2019 22:54:10 +0000 (17:54 -0500)
commit3647b7be1c5d14b5f84649dba5a1e12354dc49a8
treec885a2710b1b6984ab91ebcdbcd18d5381c70742
parentd549c241df14d0feac540a361a40e707ed66066b
Add CTE prefixes

Added support for prefixes to the :class:`.CTE` construct, to allow
support for Postgresql 12 "MATERIALIZED" and "NOT MATERIALIZED" phrases.
Pull request courtesy Marat Sharafutdinov.

Fixes: #5040
Closes: #5043
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5043
Pull-request-sha: d1b9059a0b6dae8dc2479ac670999b4af07908e0

Change-Id: I2e9cb5d7f85961ec98ee51965de5b3ec4a97be2f
(cherry picked from commit f8c562c4f8def3b104d157d9f39d0e11f7d9fd8d)
doc/build/changelog/unreleased_13/5040.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/selectable.py
test/sql/test_cte.py