forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit048caf8
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 parente76fbcf commit048caf8
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 | |
---|---|---|---|
| |||
2839 | 2839 |
| |
2840 | 2840 |
| |
2841 | 2841 |
| |
2842 |
| - | |
2843 |
| - | |
| 2842 | + | |
| 2843 | + | |
2844 | 2844 |
| |
2845 | 2845 |
| |
2846 | 2846 |
| |
| |||
2867 | 2867 |
| |
2868 | 2868 |
| |
2869 | 2869 |
| |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
2870 | 2876 |
| |
2871 | 2877 |
| |
2872 | 2878 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
562 | 562 |
| |
563 | 563 |
| |
564 | 564 |
| |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
565 | 574 |
| |
566 | 575 |
| |
567 | 576 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
292 | 296 |
| |
293 | 297 |
| |
294 | 298 |
| |
|
0 commit comments
Comments
(0)