forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8258289
committed
Doc: clarify behavior of row-limit arguments in the PLs' SPI wrappers.
plperl, plpython, and pltcl all provide query-execution functionsthat are thin wrappers around SPI_execute() or its variants.The SPI functions document their row-count limit arguments clearly,as "maximum number of rows to return, or 0 for no limit". Howeverthe PLs' documentation failed to explain this special behavior ofzero, so that a reader might well assume it means "fetch zerorows". Improve that.Daniel Gustafsson and Tom Lane, per report from Kieran McCuskerDiscussion:https://postgr.es/m/CAGgUQ6H6qYScctOhktQ9HLFDDoafBKHyUgJbZ6q_dOApnzNTXg@mail.gmail.com1 parent900a8d5 commit8258289
3 files changed
+32
-10
lines changedLines changed: 16 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
398 | 398 |
| |
399 | 399 |
| |
400 | 400 |
| |
401 |
| - | |
| 401 | + | |
402 | 402 |
| |
403 | 403 |
| |
404 | 404 |
| |
405 | 405 |
| |
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
409 |
| - | |
410 |
| - | |
411 |
| - | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
412 | 420 |
| |
413 | 421 |
| |
414 | 422 |
| |
| |||
600 | 608 |
| |
601 | 609 |
| |
602 | 610 |
| |
603 |
| - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
604 | 615 |
| |
605 | 616 |
| |
606 | 617 |
| |
|
Lines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
937 | 937 |
| |
938 | 938 |
| |
939 | 939 |
| |
940 |
| - | |
| 940 | + | |
941 | 941 |
| |
942 | 942 |
| |
943 | 943 |
| |
944 | 944 |
| |
945 | 945 |
| |
946 | 946 |
| |
947 | 947 |
| |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
948 | 957 |
| |
949 | 958 |
| |
950 | 959 |
| |
| |||
1035 | 1044 |
| |
1036 | 1045 |
| |
1037 | 1046 |
| |
1038 |
| - | |
| 1047 | + | |
1039 | 1048 |
| |
1040 | 1049 |
| |
1041 | 1050 |
| |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
344 |
| - | |
345 |
| - | |
346 |
| - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
347 | 349 |
| |
348 | 350 |
| |
349 | 351 |
| |
|
0 commit comments
Comments
(0)