* SPI_cursor_fetch() * * Fetch rows in a cursor */
| 1856 | * Fetch rows in a cursor |
| 1857 | */ |
| 1858 | void |
| 1859 | SPI_cursor_fetch(Portal portal, bool forward, long count) |
| 1860 | { |
| 1861 | _SPI_cursor_operation(portal, |
| 1862 | forward ? FETCH_FORWARD : FETCH_BACKWARD, count, |
| 1863 | CreateDestReceiver(DestSPI)); |
| 1864 | /* we know that the DestSPI receiver doesn't need a destroy call */ |
| 1865 | } |
| 1866 | |
| 1867 | |
| 1868 | /* |
no test coverage detected