- Notifications
You must be signed in to change notification settings - Fork5
Commite3e3d2a
committed
Extend ExecMakeFunctionResult() to support set-returning functions that return
via a tuplestore instead of value-per-call. Refactor a few things to reduceensuing code duplication with nodeFunctionscan.c. This represents thereasonably noncontroversial part of my proposed patch to switch SQL functionsover to returning tuplestores. For the moment, SQL functions still do thingsthe old way. However, this change enables PL SRFs to be called in targetlists(observe changes in plperl regression results).1 parenta80a122 commite3e3d2a
File tree
10 files changed
+440
-165
lines changed- contrib/tablefunc
- doc/src/sgml
- src
- backend
- executor
- utils/fmgr
- include
- executor
- nodes
- pl/plperl/expected
10 files changed
+440
-165
lines changedLines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
709 | 709 |
| |
710 | 710 |
| |
711 | 711 |
| |
712 |
| - | |
| 712 | + | |
| 713 | + | |
713 | 714 |
| |
714 | 715 |
| |
715 | 716 |
| |
| |||
1072 | 1073 |
| |
1073 | 1074 |
| |
1074 | 1075 |
| |
1075 |
| - | |
| 1076 | + | |
| 1077 | + | |
1076 | 1078 |
| |
1077 | 1079 |
| |
1078 | 1080 |
| |
| |||
1139 | 1141 |
| |
1140 | 1142 |
| |
1141 | 1143 |
| |
1142 |
| - | |
1143 | 1144 |
| |
1144 | 1145 |
| |
1145 | 1146 |
| |
| |||
1151 | 1152 |
| |
1152 | 1153 |
| |
1153 | 1154 |
| |
1154 |
| - | |
| 1155 | + | |
| 1156 | + | |
1155 | 1157 |
| |
1156 | 1158 |
| |
1157 | 1159 |
| |
|
Lines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
1575 | 1575 |
| |
1576 | 1576 |
| |
1577 | 1577 |
| |
1578 |
| - | |
1579 |
| - | |
1580 |
| - | |
1581 |
| - | |
1582 | 1578 |
| |
1583 | 1579 |
| |
1584 | 1580 |
| |
|
0 commit comments
Comments
(0)