forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8d5573b
committed
Don't specify number of dimensions in cases where we don't know it.
A few places in array_in() and plperl would report a misleading value(always MAXDIM+1) for the number of dimensions in the input, becausewe'd error out as soon as that was clearly too large rather thanscanning the entire input. There doesn't seem to be much value inoffering the true number, at least not enough to justify the extracomplication involved in trying to get it. So just remove thatparenthetical remark. We already have other places that do itlike that, anyway.Per suggestions from Alexander Lakhin and Heikki Linnakangas.Discussion:https://postgr.es/m/2794005.1683042087@sss.pgh.pa.us1 parent284cbae commit8d5573b
File tree
3 files changed
+7
-7
lines changed- src
- backend/utils/adt
- pl/plperl
- expected
3 files changed
+7
-7
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
429 | 429 |
| |
430 | 430 |
| |
431 | 431 |
| |
432 |
| - | |
433 |
| - | |
| 432 | + | |
| 433 | + | |
434 | 434 |
| |
435 | 435 |
| |
436 | 436 |
| |
| |||
641 | 641 |
| |
642 | 642 |
| |
643 | 643 |
| |
644 |
| - | |
645 |
| - | |
| 644 | + | |
| 645 | + | |
646 | 646 |
| |
647 | 647 |
| |
648 | 648 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1201 | 1201 |
| |
1202 | 1202 |
| |
1203 | 1203 |
| |
1204 |
| - | |
1205 |
| - | |
| 1204 | + | |
| 1205 | + | |
1206 | 1206 |
| |
1207 | 1207 |
| |
1208 | 1208 |
| |
|
0 commit comments
Comments
(0)