diff options
author | Jim Bosch <jbosch@astro.princeton.edu> | 2020-07-26 16:50:14 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-07-26 16:57:13 -0400 |
commit | 07e57a0330fb7b1bbe0c59f442111a34e4b7c960 (patch) | |
tree | 9310c47b7ceb59fce44b6f4b29d2d6571fcc7a4b /lib/sqlalchemy/sql/compiler.py | |
parent | 9e1ee412b8650761af6df993e119906682604728 (diff) | |
download | sqlalchemy-07e57a0330fb7b1bbe0c59f442111a34e4b7c960.tar.gz |
Ensure is_comparison passed for PG RANGE op() methods
Fixed issue where the return type for the various RANGE comparison
operators would itself be the same RANGE type rather than BOOLEAN, which
would cause an undesirable result in the case that a
:class:`.TypeDecorator` that defined result-processing behavior were in
use. Pull request courtesy Jim Bosch.
Fixes: #5476
Closes: #5477
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5477
Pull-request-sha: 925b117e0c91cdd67d9ddbd9d65f5ca3e88af91f
Change-Id: I52ab4d4362d379c8253990f9d328a40990a64520
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions