* SPI_cursor_close() * * Close a cursor */
| 1912 | * Close a cursor |
| 1913 | */ |
| 1914 | void |
| 1915 | SPI_cursor_close(Portal portal) |
| 1916 | { |
| 1917 | if (!PortalIsValid(portal)) |
| 1918 | elog(ERROR, "invalid portal in SPI cursor operation"); |
| 1919 | |
| 1920 | PortalDrop(portal, false); |
| 1921 | } |
| 1922 | |
| 1923 | /* |
| 1924 | * Returns the Oid representing the type id for argument at argIndex. First |
no test coverage detected