]> 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:42:16 +0000 (16:42 -0500)
commit17d228f6268515bbf37fdd70a6ee3a62cb9a0b0c
tree061124afad16e8198f0c133a9ec7929038a8433c
parenta869dc8fe3cd579ed9bab665d215a6c3e3d8a4ca
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
doc/build/changelog/unreleased_14/7561.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_types.py