Home
About
Download
Documentation
Community
Developers
Support
Donate
Your account
September 26, 2024:
PostgreSQL 17 Released!
Documentation
→
PostgreSQL 9.4
Supported Versions:
Current
(
17
) /
16
/
15
/
14
/
13
/
12
Development Versions:
devel
Unsupported versions:
11
/
10
/
9.6
/
9.5
/
9.4
/
9.3
/
9.2
/
9.1
/
9.0
/
8.4
/
8.3
/
8.2
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
current
version, or one of the other supported versions listed above instead.
PostgreSQL 9.4.26 Documentation
Prev
Up
Chapter 44. Server Programming Interface
Next
44.1. Interface Functions
Table of Contents
SPI_connect
-- connect a procedure to the SPI manager
SPI_finish
-- disconnect a procedure from the SPI manager
SPI_push
-- push SPI stack to allow recursive SPI usage
SPI_pop
-- pop SPI stack to return from recursive SPI usage
SPI_execute
-- execute a command
SPI_exec
-- execute a read/write command
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_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_with_paramlist
-- execute a statement prepared by
SPI_prepare
SPI_execp
-- execute a statement in read/write mode
SPI_cursor_open
-- set up a cursor using a statement created with
SPI_prepare
SPI_cursor_open_with_args
-- set up a cursor using a query and parameters
SPI_cursor_open_with_paramlist
-- set up a cursor using parameters
SPI_cursor_find
-- find an existing cursor by name
SPI_cursor_fetch
-- fetch some rows from a cursor
SPI_cursor_move
-- move a cursor
SPI_scroll_cursor_fetch
-- fetch some rows from a cursor
SPI_scroll_cursor_move
-- move a cursor
SPI_cursor_close
-- close a cursor
SPI_keepplan
-- save a prepared statement
SPI_saveplan
-- save a prepared statement
Prev
Home
Next
Server Programming Interface
Up
SPI_connect