forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit064eb89
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 parentd6b5dee commit064eb89
File tree
3 files changed
+21
-2
lines changed- src
- backend/executor
- test/regress
- expected
- sql
3 files changed
+21
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3225 | 3225 |
| |
3226 | 3226 |
| |
3227 | 3227 |
| |
3228 |
| - | |
3229 |
| - | |
| 3228 | + | |
| 3229 | + | |
3230 | 3230 |
| |
3231 | 3231 |
| |
3232 | 3232 |
| |
| |||
3253 | 3253 |
| |
3254 | 3254 |
| |
3255 | 3255 |
| |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
3256 | 3262 |
| |
3257 | 3263 |
| |
3258 | 3264 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
606 | 606 |
| |
607 | 607 |
| |
608 | 608 |
| |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
609 | 618 |
| |
610 | 619 |
| |
611 | 620 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
307 | 307 |
| |
308 | 308 |
| |
309 | 309 |
| |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
310 | 314 |
| |
311 | 315 |
| |
312 | 316 |
| |
|
0 commit comments
Comments
(0)