forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf87567
committed
This patch allows the PL/Python module to do (SRF) functions.
The patch was taken from the CVS version.I have modified the plpython.c file and have added a test sql script fortesting the functionality. It was actually the script that was in the8.0.3 version but have since been removed.In order to signal the end of a set, the called python function mustsimply return plpy.EndOfSet and the set would be returned.Gerrit van Dyk1 parent109f079 commitaf87567
2 files changed
+28
-1
lines changedLines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| |||
286 | 286 |
| |
287 | 287 |
| |
288 | 288 |
| |
| 289 | + | |
| 290 | + | |
| 291 | + | |
289 | 292 |
| |
290 | 293 |
| |
291 | 294 |
| |
| |||
770 | 773 |
| |
771 | 774 |
| |
772 | 775 |
| |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
773 | 786 |
| |
774 | 787 |
| |
775 | 788 |
| |
| |||
2317 | 2330 |
| |
2318 | 2331 |
| |
2319 | 2332 |
| |
| 2333 | + | |
2320 | 2334 |
| |
2321 | 2335 |
| |
2322 | 2336 |
| |
| 2337 | + | |
2323 | 2338 |
| |
2324 | 2339 |
| |
2325 | 2340 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + |
0 commit comments
Comments
(0)