PostgreSQL 9.3.4 文档
Prev
Up
Chapter 44. 服务器编程接口
Next
44.1. 接口函数
Table of Contents
SPI_connect
-- 连接一个过程到 SPI 管理器
SPI_finish
-- 将一个过程从 SPI 管理器断开
SPI_push
-- 下推 SPI 栈以允许递归的 SPI 使用
SPI_pop
-- 从 SPI 栈弹出以从递归的 SPI 使用中返回
SPI_execute
-- 执行一个命令
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
服务器编程接口
Up
SPI_connect