]> 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:47:51 +0000 (17:47 -0500)
commitc18a04affd117cd6d7deb5b389de81b040b749a1
treeff6ca20fe3a54fc85d5db529642857ee405d1c00
parent051c2fde4c3b4bf7edcaa7578c0b1420986aaf0c
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
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