# 47.1. Interface Functions
SPI_connect — connect a C function to the SPI managerSPI_finish — disconnect a C function from the SPI managerSPI_execute — execute a commandSPI_exec — execute a read/write commandSPI_execute_extended — execute a command with out-of-line parametersSPI_execute_with_args — execute a command with out-of-line parametersSPI_prepare — prepare a statement, without executing it yetSPI_prepare_cursor — prepare a statement, without executing it yetSPI_prepare_extended — prepare a statement, without executing it yetSPI_prepare_params — prepare a statement, without executing it yetSPI_getargcount — return the number of arguments needed by a statement prepared by SPI_prepare
SPI_getargtypeid — return the data type OID for an argument of a statement prepared by SPI_prepare
SPI_is_cursor_plan — return true
if a statement prepared by SPI_prepare
can be used with SPI_cursor_open
SPI_execute_plan — execute a statement prepared by SPI_prepare
SPI_execute_plan_extended — execute a statement prepared by SPI_prepare
SPI_execute_plan_with_paramlist — execute a statement prepared by SPI_prepare
SPI_execp — execute a statement in read/write modeSPI_cursor_open — set up a cursor using a statement created with SPI_prepare
SPI_cursor_open_with_args — set up a cursor using a query and parametersSPI_cursor_open_with_paramlist — set up a cursor using parametersSPI_cursor_parse_open — set up a cursor using a query string and parametersSPI_cursor_find — find an existing cursor by nameSPI_cursor_fetch — fetch some rows from a cursorSPI_cursor_move — move a cursorSPI_scroll_cursor_fetch — fetch some rows from a cursorSPI_scroll_cursor_move — move a cursorSPI_cursor_close — close a cursorSPI_keepplan — save a prepared statementSPI_saveplan — save a prepared statementSPI_register_relation — make an ephemeral named relation available by name in SPI queriesSPI_unregister_relation — remove an ephemeral named relation from the registrySPI_register_trigger_data — make ephemeral trigger data available in SPI queries