1SPI_CONNECT(3) PostgreSQL 10.7 Documentation SPI_CONNECT(3)
2
3
4
6 SPI_connect - connect a procedure to the SPI manager
7
9 int SPI_connect(void)
10
12 SPI_connect opens a connection from a procedure invocation to the SPI
13 manager. You must call this function if you want to execute commands
14 through SPI. Some utility SPI functions can be called from unconnected
15 procedures.
16
18 SPI_OK_CONNECT
19 on success
20
21 SPI_ERROR_CONNECT
22 on error
23
24
25
26PostgreSQL 10.7 2019 SPI_CONNECT(3)