]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Apply quoting to render_derived() names
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Apr 2021 16:46:41 +0000 (12:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Apr 2021 17:41:44 +0000 (13:41 -0400)
commit115e4d1a491173276821bdafd967666d71cdb7a8
tree4fa5098fe0855a41c49be48dc16da7ae0dcb129f
parent3a29d65f73c6e705f486588068172d45017285fa
Apply quoting to render_derived() names

Fixed bug in new :meth:`_functions.FunctionElement.render_derived` feature
where column names rendered out explicitly in the alias SQL would not have
proper quoting applied for case sensitive names and other non-alphanumeric
names.

Fixes: #6183
Change-Id: I33e2534affc6e1f449f564750028fd027cb0f352
doc/build/changelog/unreleased_14/6183.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/dialect/postgresql/test_query.py
test/sql/test_functions.py