SPI_connect, SPI_connect_ext - connect a C function to the SPI manager
opens a connection from a
C function invocation to the SPI manager. You must call this
function if you want to execute commands through SPI. Some utility
SPI functions can be called from unconnected C functions.
does the same but has an argument that
allows passing option flags. Currently, the following option values are
Sets the SPI connection to be nonatomic , which means that transaction control calls (
SPI_rollback) are allowed. Otherwise, calling those functions will result in an immediate error.
is equivalent to