aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAgg.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-04-15 12:01:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-04-15 12:01:39 -0400
commit064eb89e83ea0f59426c92906329f1e6c423dfa4 (patch)
treefdb8ae7ee73d6672685b28c3ccb2d72c7f27f55d /src/backend/executor/nodeAgg.c
parentd6b5dee42de71f547090f0cd2968112c50c24203 (diff)
downloadpostgresql-064eb89e83ea0f59426c92906329f1e6c423dfa4.tar.gz
postgresql-064eb89e83ea0f59426c92906329f1e6c423dfa4.zip
Fix assignment to array of domain over composite, redux.
Commit 3e310d837 taught isAssignmentIndirectionExpr() to look through CoerceToDomain nodes. That's not sufficient, because since commit 04fe805a1 it's been possible for the planner to simplify CoerceToDomain to RelabelType when the domain has no constraints to enforce. So we need to look through RelabelType too. Per bug #17897 from Alexander Lakhin. Although 3e310d837 was back-patched to v11, it seems sufficient to apply this change to v12 and later, since 04fe805a1 came in in v12. Dmitry Dolgov Discussion: https://postgr.es/m/17897-4216c546c3874044@postgresql.org
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
0 files changed, 0 insertions, 0 deletions