]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixes(#7561) Add support for postgres.UUID literal_binds compilation
authorJosé Duarte <duarte@dystematic.com>
Thu, 13 Jan 2022 22:20:06 +0000 (17:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Jan 2022 21:44:54 +0000 (16:44 -0500)
commit5483ccbc728c92a4786f739bdd73325479aa2c55
tree6469847dec9403d3ece792b821b76ddb0ff6ef90
parent5278c84b35b8fd97dd51a49ff5ab089b4d0f997e
Fixes(#7561) Add support for postgres.UUID literal_binds compilation

Added string rendering to the :class:`.postgresql.UUID` datatype, so that
stringifying a statement with "literal_binds" that uses this type will
render an appropriate string value for the PostgreSQL backend. Pull request
courtesy José Duarte.

Fixes: #7561
Closes: #7563
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7563
Pull-request-sha: cf6fe73265342d7884a940c4b3a34c9552113ec3

Change-Id: I4b162bdcdce2293a90683e36da54e4a891a3c684
(cherry picked from commit 17d228f6268515bbf37fdd70a6ee3a62cb9a0b0c)
doc/build/changelog/unreleased_14/7561.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_types.py