- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit6107aa8
committed
Fix ExecMakeTableFunctionResult to verify that all rows returned by a SRF
returning "record" actually do have the same rowtype. This is needed becausethe parser can't realistically enforce that they will all have the same typmod,as seen in a recent example from David Wheeler.Back-patch to 8.0, which is as far back as we have the notion of RECORDsubtypes being distinguished by typmod. Wheeler's example depends on8.4-and-up features, but I suspect there may be ways to provoke similarfailures before 8.4.1 parente4b0858 commit6107aa8
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1538 | 1538 |
| |
1539 | 1539 |
| |
1540 | 1540 |
| |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
1541 | 1551 |
| |
1542 | 1552 |
| |
1543 | 1553 |
| |
|
0 commit comments
Comments
(0)