Redrock Postgres 搜索 英文
版本: 9.3 / 9.4 / 9.5 / 9.6 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17

45.1. 接口函数 #

SPI_connect — 将 C 函数与 SPI 管理器连接
SPI_finish — 将 C 函数与 SPI 管理器断开连接
SPI_execute — 执行命令
SPI_exec — 执行读/写命令
SPI_execute_extended — 使用非行内参数执行命令
SPI_execute_with_args ——执行包含非行内参数的命令
SPI_prepare ——准备语句,但并不执行
SPI_prepare_cursor ——准备语句,但并不执行
SPI_prepare_extended ——准备语句,但并不执行
SPI_prepare_params ——准备语句,但并不执行
SPI_getargcount ——返回由 SPI_prepare 准备的语句所需的论证数
SPI_getargtypeid ——返回由 SPI_prepare 准备的语句论证的数据类型 OID
SPI_is_cursor_plan ——如果由 SPI_prepare 准备的语句可与 SPI_cursor_open 一起使用,则返回 true
SPI_execute_plan ——执行由 SPI_prepare 准备的语句
SPI_execute_plan_extended ——执行由 SPI_prepare 准备的语句
SPI_execute_plan_with_paramlist ——执行由 SPI_prepare 准备的语句
SPI_execp ——以读写模式执行一个语句
SPI_cursor_open ——使用由 SPI_prepare 创建的语句设置游标
SPI_cursor_open_with_args ——使用查询和参数设置游标
SPI_cursor_open_with_paramlist ——使用参数设置游标
SPI_cursor_parse_open ——使用查询字符串和参数设置游标
SPI_cursor_find ——按名称查找已有游标
SPI_cursor_fetch ——从指针中获取一些行
SPI_cursor_move ——移动指针
SPI_scroll_cursor_fetch ——从指针中获取一些行
SPI_scroll_cursor_move ——移动指针
SPI_cursor_close ——关闭指针
SPI_keepplan ——保存已准备好的语句
SPI_saveplan ——保存已准备好的语句
SPI_register_relation ——在 SPI 查询中按名称提供一个短暂的已命名关系
SPI_unregister_relation ——从注册表中移除一个短暂的已命名关系
SPI_register_trigger_data ——在 SPI 查询中提供短暂的触发器数据