- Notifications
You must be signed in to change notification settings - Fork5
Commit65d9aed
committed
Fix getTypeIOParam to support type record[].
Since record[] uses array_in, it needs to have its element type passedas typioparam. In HEAD and 9.1, this fix essentially reverts commit9bc933b, which was a hack that is nolonger needed since domains don't set their typelem anymore. Beforethat, adjust the logic so that only domains are excluded from beingtreated like arrays, rather than assuming that only base types shouldbe included. Add a regression test to demonstrate the need for this.Per report from Maxim Boguk.Back-patch to 8.4, where type record[] was added.1 parent1be6f93 commit65d9aed
File tree
3 files changed
+38
-3
lines changed- src
- backend/utils/cache
- test/regress
- expected
- sql
3 files changed
+38
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1890 | 1890 |
| |
1891 | 1891 |
| |
1892 | 1892 |
| |
1893 |
| - | |
1894 |
| - | |
| 1893 | + | |
1895 | 1894 |
| |
1896 |
| - | |
| 1895 | + | |
1897 | 1896 |
| |
1898 | 1897 |
| |
1899 | 1898 |
| |
|
Lines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
578 | 578 |
| |
579 | 579 |
| |
580 | 580 |
| |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
581 | 602 |
| |
582 | 603 |
| |
583 | 604 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
395 | 410 |
| |
396 | 411 |
| |
397 | 412 |
| |
|
0 commit comments
Comments
(0)