aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-03-17 15:51:00 +1300
committerDavid Rowley <drowley@postgresql.org>2023-03-17 15:51:00 +1300
commit371e3daaa53d09f1f265865dc9bf0dbff57c46ab (patch)
tree2ce49fec96bde40277fcacacfce3e9a76050f041 /src/backend/executor/nodeProjectSet.c
parentfd65711f3b662b69d4594f3be502c2be0409a4dc (diff)
downloadpostgresql-371e3daaa53d09f1f265865dc9bf0dbff57c46ab.tar.gz
postgresql-371e3daaa53d09f1f265865dc9bf0dbff57c46ab.zip
Fix incorrect logic for determining safe WindowAgg run conditions
The logic added in 9d9c02ccd to determine when a qual can be used as a WindowClause run condition failed to correctly check for subqueries in the qual. This was being done correctly for normal subquery qual pushdowns, it's just that 9d9c02ccd failed to follow the lead on that. This also fixes various other cases where transforming the qual into a WindowClause run condition in the subquery should have been disallowed. Bug: #17826 Reported-by: Anban Company Discussion: https://postgr.es/m/17826-7d8750952f19a5f5@postgresql.org Backpatch-through: 15, where 9d9c02ccd was introduced.
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions