diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-05 17:25:05 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-08-05 17:26:00 -0400 |
commit | 85fa363c846f4ed287565c43c32e2cca29470e25 (patch) | |
tree | 21205f1e8e2064f4527b81adb402ddd9c0e20d38 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | f08576274417bb1a836c072ff240bd5ad2ab40b7 (diff) | |
download | sqlalchemy-85fa363c846f4ed287565c43c32e2cca29470e25.tar.gz |
deep compare CTEs before considering them conflicting
Fixed issue where referencing a CTE multiple times in conjunction with a
polymorphic SELECT could result in multiple "clones" of the same CTE being
constructed, which would then trigger these two CTEs as duplicates. To
resolve, the two CTEs are deep-compared when this occurs to ensure that
they are equivalent, then are treated as equivalent.
Fixes: #8357
Change-Id: I1f634a9cf7a6c4256912aac1a00506aecea3b0e2
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions