Home
About
Download
Documentation
Community
Developers
Support
Donate
Your account
February 20, 2025:
PostgreSQL 17.4, 16.8, 15.12, 14.17, and 13.20 Released!
Documentation
→
PostgreSQL 17
Supported Versions:
Current
(
17
) /
16
/
15
/
14
/
13
Development Versions:
devel
Unsupported versions:
12
/
11
/
10
/
9.6
/
9.5
/
9.4
/
9.3
/
9.2
/
9.1
/
9.0
/
8.4
/
8.3
/
8.2
45.1. Interface Functions
Prev
Up
Chapter 45. Server Programming Interface
Home
Next
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_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
SPI_prepare_cursor
— prepare a statement, without executing it yet
SPI_prepare_extended
— 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
true
if a statement prepared by
SPI_prepare
can be used with
SPI_cursor_open
SPI_execute_plan
— execute a statement prepared by
SPI_prepare
SPI_execute_plan_extended
— 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