forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc53ed26
committed
Fix assignment to array of domain over composite, redux.
Commit3e310d8 taught isAssignmentIndirectionExpr() to look throughCoerceToDomain nodes. That's not sufficient, because since commit04fe805 it's been possible for the planner to simplifyCoerceToDomain to RelabelType when the domain has no constraintsto enforce. So we need to look through RelabelType too.Per bug #17897 from Alexander Lakhin. Although3e310d8 wasback-patched to v11, it seems sufficient to apply this changeto v12 and later, since04fe805 came in in v12.Dmitry DolgovDiscussion:https://postgr.es/m/17897-4216c546c3874044@postgresql.org1 parentde575c7 commitc53ed26
File tree
3 files changed
+21
-2
lines changed- src
- backend/executor
- test/regress
- expected
- sql
3 files changed
+21
-2
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3131 | 3131 |
| |
3132 | 3132 |
| |
3133 | 3133 |
| |
3134 |
| - | |
3135 |
| - | |
| 3134 | + | |
| 3135 | + | |
3136 | 3136 |
| |
3137 | 3137 |
| |
3138 | 3138 |
| |
| |||
3159 | 3159 |
| |
3160 | 3160 |
| |
3161 | 3161 |
| |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
| 3167 | + | |
3162 | 3168 |
| |
3163 | 3169 |
| |
3164 | 3170 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
556 | 556 |
| |
557 | 557 |
| |
558 | 558 |
| |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
559 | 568 |
| |
560 | 569 |
| |
561 | 570 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
288 | 288 |
| |
289 | 289 |
| |
290 | 290 |
| |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
291 | 295 |
| |
292 | 296 |
| |
293 | 297 |
| |
|
0 commit comments
Comments
(0)