SPI_execute_extended — execute a command with out-of-line parameters SPI_execute_with_args — execute a command with out-of-line parameters SPI_prepare — prepare a statement, without executing it yet ...
This section contains a very simple example of SPI usage. The C function execq takes an SQL command as its first argument and a row count as its second, executes the command using SPI_exec and returns ...