45.1. Interface Functions
- SPI_connect â connect a C function to the SPI manager
- SPI_finish â disconnect a C function from the SPI manager
- SPI_execute â execute a command
- SPI_exec â execute a read/write command
- SPI_execute_with_args â execute a command with out-of-line parameters
- SPI_prepare â prepare a statement, without executing it yet
- SPI_prepare_cursor â prepare a statement, without executing it yet
- SPI_prepare_params â prepare a statement, without executing it yet
- SPI_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
trueif a statement prepared bySPI_preparecan be used withSPI_cursor_open- SPI_execute_plan â 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 mode
- SPI_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 parameters
- SPI_cursor_open_with_paramlist â set up a cursor using parameters
- SPI_cursor_find â find an existing cursor by name
- SPI_cursor_fetch â fetch some rows from a cursor
- SPI_cursor_move â move a cursor
- SPI_scroll_cursor_fetch â fetch some rows from a cursor
- SPI_scroll_cursor_move â move a cursor
- SPI_cursor_close â close a cursor
- SPI_keepplan â save a prepared statement
- SPI_saveplan â save a prepared statement
- SPI_register_relation â make an ephemeral named relation available by name in SPI queries
- SPI_unregister_relation â remove an ephemeral named relation from the registry
- SPI_register_trigger_data â make ephemeral trigger data available in SPI queries
- SPI_finish â disconnect a C function from the SPI manager