2 45.1. Interface Functions #
4 SPI_connect — connect a C function to the SPI manager
5 SPI_finish — disconnect a C function from the SPI manager
6 SPI_execute — execute a command
7 SPI_exec — execute a read/write command
8 SPI_execute_extended — execute a command with out-of-line parameters
9 SPI_execute_with_args — execute a command with out-of-line parameters
10 SPI_prepare — prepare a statement, without executing it yet
11 SPI_prepare_cursor — prepare a statement, without executing it yet
12 SPI_prepare_extended — prepare a statement, without executing it yet
13 SPI_prepare_params — prepare a statement, without executing it yet
14 SPI_getargcount — return the number of arguments needed by a statement
15 prepared by SPI_prepare
17 SPI_getargtypeid — return the data type OID for an argument of a
18 statement prepared by SPI_prepare
20 SPI_is_cursor_plan — return true if a statement prepared by SPI_prepare
21 can be used with SPI_cursor_open
23 SPI_execute_plan — execute a statement prepared by SPI_prepare
24 SPI_execute_plan_extended — execute a statement prepared by SPI_prepare
25 SPI_execute_plan_with_paramlist — execute a statement prepared by
28 SPI_execp — execute a statement in read/write mode
29 SPI_cursor_open — set up a cursor using a statement created with
32 SPI_cursor_open_with_args — set up a cursor using a query and
35 SPI_cursor_open_with_paramlist — set up a cursor using parameters
36 SPI_cursor_parse_open — set up a cursor using a query string and
39 SPI_cursor_find — find an existing cursor by name
40 SPI_cursor_fetch — fetch some rows from a cursor
41 SPI_cursor_move — move a cursor
42 SPI_scroll_cursor_fetch — fetch some rows from a cursor
43 SPI_scroll_cursor_move — move a cursor
44 SPI_cursor_close — close a cursor
45 SPI_keepplan — save a prepared statement
46 SPI_saveplan — save a prepared statement
47 SPI_register_relation — make an ephemeral named relation available by
50 SPI_unregister_relation — remove an ephemeral named relation from the
53 SPI_register_trigger_data — make ephemeral trigger data available in