PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
常用条目12356
spgist/range_ops (class)anyrange 类型的 SP-GiST 操作符类,属于 range_ops 家族。
SP-GiST 操作符类
spgist/range_ops
对象种类 操作符类
索引访问方法 SP-GiST
输入类型 anyrange
存储键类型 与输入类型相同(目录值为零)
默认操作符类 是
操作符类与家族
索引定义可以为索引的每一列指定一个 操作符类 。
操作符类确定索引针对该列使用…运算符族 · SP-GiST 操作符类
spgist/range_ops (family)SP-GiST 操作符家族 containing 1 classes, 10 operator strategies and 5 support functions in this source build。
SP-GiST 操作符家族
spgist/range_ops
对象种类 操作符家族
索引访问方法 SP-GiST
操作符类与家族
索引定义可以为索引的每一列指定一个 操…运算符族 · SP-GiST 操作符家族
spgist/text_ops (class)text 类型的 SP-GiST 操作符类,属于 text_ops 家族。
SP-GiST 操作符类
spgist/text_ops
对象种类 操作符类
索引访问方法 SP-GiST
输入类型 text
存储键类型 与输入类型相同(目录值为零)
默认操作符类 是
操作符类与家族
索引定义可以为索引的每一列指定一个 操作符类 。
操作符类确定索引针对该列使用哪些操作符。例如,建…运算符族 · SP-GiST 操作符类
spgist/text_ops (family)SP-GiST 操作符家族 containing 1 classes, 10 operator strategies and 5 support functions in this source build。
SP-GiST 操作符家族
SP-GiST 操作符家族 containing 1 classes, 9 operator strategies and 5 suppor…运算符族 · SP-GiST 操作符家族
sphinx从 PostgreSQL 查询和更新外部 SphinxSearch 服务的 C 连接器。
C connector for querying and updating an external SphinxSearch server from PostgreSQL.
connector external-search network sphinxsearch
pg-sphinx
全…全文检索 · 扩展目录
sphinxlink通过 MySQL 兼容协议从 PostgreSQL 向 SphinxSearch 或 ManticoreSearch 发起查询的 C 扩展。
C extension for issuing SphinxSearch or ManticoreSearch queries from PostgreSQL through the MySQL-compatible protocol.
…全文检索 · 扩展目录
spiF.41. spi — 服务器编程接口特性/示例
spi 模块提供了若干使用服务器编程接口(SPI)和触发器的实用示例。虽然这些函数本身也有一定的独立用途,但把它们作为可按自身需求修改的示例来看更有价值。这些函数足够通用,可以用于任何表,但在创建触发器时必须指定表名和字段名(如下所述)。下文描述的每组函数都作为一个可单独安装的扩展提供。spi — 服务器编程接口特性/示例
spi — 服务器编程接口特性/示例F.41. spi — 服务器编程接口特性/示例
spi 模块提供了若干使用服务器编程接口(SPI)和触发器的实用示例。虽然这些函数本身也有一定的独立用途,但把它们作为可按自身需求修改的示例来看更有价值。这些函数足够通用,可以用于任何表,但在创建触发器时必须指定表名和字段名(如下所述)。下文描述的每组函数都作为一个可单独安装的扩展提供。spi — 服务器编程接口特性/示例
SPI_commitSPI_commit SPI_commit, SPI_commit_and_chain — 提交当前事务大纲 void SPI_commit(void) void SPI_commit_and_chain(void)SPI_commit
SPI_connectSPI_connect SPI_connect, SPI_connect_ext — 将一个 C 函数连接到 SPI 管理器大纲 int SPI_connect(void) int SPI_connect_ext(int options)SPI_connect
SPI_copytupleSPI_copytuple SPI_copytuple — 在上层执行器上下文中创建一行的副本大纲 HeapTuple SPI_copytuple(HeapTuple row)SPI_copytuple
SPI_cursor_closeSPI_cursor_close SPI_cursor_close — 关闭一个游标大纲 void SPI_cursor_close(Portal portal)SPI_cursor_close
SPI_cursor_fetchSPI_cursor_fetch SPI_cursor_fetch — 从一个游标取出一些行大纲 void SPI_cursor_fetch(Portal portal, bool forward, long count)SPI_cursor_fetch
SPI_cursor_findSPI_cursor_find SPI_cursor_find — 用名称查找一个现有的游标大纲 Portal SPI_cursor_find(const char * name)SPI_cursor_find
SPI_cursor_moveSPI_cursor_move SPI_cursor_move — 移动一个游标大纲 void SPI_cursor_move(Portal portal, bool forward, long count)SPI_cursor_move
SPI_cursor_openSPI_cursor_open SPI_cursor_open — 使用由 SPI_prepare 创建的语句建立一个游标大纲 Portal SPI_cursor_open(const char * name, SPIPlanPtr plan, Datum * values, const char * nulls, bool read_only)SPI_cursor_open
SPI_cursor_open_with_argsSPI_cursor_open_with_args SPI_cursor_open_with_args — 使用一个查询和参数建立一个游标大纲 Portal SPI_cursor_open_with_args(const char *name, const char *command, int nargs, Oid *argtypes, Datum *values, const…SPI_cursor_open_with_args
SPI_cursor_open_with_paramlistSPI_cursor_open_with_paramlist SPI_cursor_open_with_paramlist — 使用参数建立一个游标大纲 Portal SPI_cursor_open_with_paramlist(const char *name, SPIPlanPtr plan, ParamListInfo params, bool read_only)SPI_cursor_open_with_paramlist
SPI_cursor_parse_openSPI_cursor_parse_open SPI_cursor_parse_open — 使用查询字符串和参数建立游标大纲 Portal SPI_cursor_parse_open(const char *name, const char *command, const SPIParseOpenOptions * options)SPI_cursor_parse_open
SPI_execSPI_exec SPI_exec — 执行一个读/写命令大纲 int SPI_exec(const char * command, long count)SPI_exec
SPI_execpSPI_execp SPI_execp — 以读/写模式执行一个语句大纲 int SPI_execp(SPIPlanPtr plan, Datum * values, const char * nulls, long count)SPI_execp
SPI_executeSPI_execute SPI_execute — 执行一个命令大纲 int SPI_execute(const char * command, bool read_only, long count)SPI_execute
SPI_execute_extendedSPI_execute_extended SPI_execute_extended — 执行使用外部参数的命令大纲 int SPI_execute_extended(const char *command, const SPIExecuteOptions * options)SPI_execute_extended
SPI_execute_planSPI_execute_plan SPI_execute_plan — 执行由 SPI_prepare 准备好的语句大纲 int SPI_execute_plan(SPIPlanPtr plan, Datum * values, const char * nulls, bool read_only, long count)SPI_execute_plan
SPI_execute_plan_extendedSPI_execute_plan_extended SPI_execute_plan_extended — 执行由 SPI_prepare 准备好的语句大纲 int SPI_execute_plan_extended(SPIPlanPtr plan, const SPIExecuteOptions * options)SPI_execute_plan_extended
SPI_execute_plan_with_paramlistSPI_execute_plan_with_paramlist SPI_execute_plan_with_paramlist — 执行由 SPI_prepare 准备好的语句大纲 int SPI_execute_plan_with_paramlist(SPIPlanPtr plan, ParamListInfo params, bool read_only, long cou…SPI_execute_plan_with_paramlist
SPI_execute_with_argsSPI_execute_with_args SPI_execute_with_args — 执行使用外部参数的命令大纲 int SPI_execute_with_args(const char *command, int nargs, Oid *argtypes, Datum *values, const char *nulls, bool read_only, long co…SPI_execute_with_args
SPI_finishSPI_finish SPI_finish — 将一个 C 函数与 SPI 管理器断开大纲 int SPI_finish(void)SPI_finish
SPI_fnameSPI_fname SPI_fname — 为指定的列号确定列名大纲 char * SPI_fname(TupleDesc rowdesc, int colnumber)SPI_fname
SPI_fnumberSPI_fnumber SPI_fnumber — 根据指定列名确定列号大纲 int SPI_fnumber(TupleDesc rowdesc, const char * colname)SPI_fnumber
SPI_freeplanSPI_freeplan SPI_freeplan — 释放一个之前保存的预备语句大纲 int SPI_freeplan(SPIPlanPtr plan)SPI_freeplan
SPI_freetupleSPI_freetuple SPI_freetuple — 释放一个在上层执行器上下文中分配的行大纲 void SPI_freetuple(HeapTuple row)SPI_freetuple
SPI_freetuptableSPI_freetuptable SPI_freetuptable — 释放由 SPI_execute 或类似函数创建的结果行集大纲 void SPI_freetuptable(SPITupleTable * tuptable)SPI_freetuptable
SPI_getargcountSPI_getargcount SPI_getargcount — 返回由 SPI_prepare 准备的语句所需参数个数大纲 int SPI_getargcount(SPIPlanPtr plan)SPI_getargcount
SPI_getargtypeidSPI_getargtypeid SPI_getargtypeid — 返回由 SPI_prepare 准备的语句中某个参数的数据类型 OID
大纲 Oid SPI_getargtypeid(SPIPlanPtr plan, int argIndex)SPI_getargtypeid
SPI_getbinvalSPI_getbinval SPI_getbinval — 返回指定列的二进制值大纲 Datum SPI_getbinval(HeapTuple row, TupleDesc rowdesc, int colnumber, bool * isnull)SPI_getbinval
SPI_getnspnameSPI_getnspname SPI_getnspname — 返回指定关系所属的名字空间大纲 char * SPI_getnspname(Relation rel)SPI_getnspname
SPI_getrelnameSPI_getrelname SPI_getrelname — 返回指定关系的名称大纲 char * SPI_getrelname(Relation rel)SPI_getrelname
SPI_gettypeSPI_gettype SPI_gettype — 返回指定列的数据类型名称大纲 char * SPI_gettype(TupleDesc rowdesc, int colnumber)SPI_gettype
SPI_gettypeidSPI_gettypeid SPI_gettypeid — 返回指定列的数据类型的 OID
大纲 Oid SPI_gettypeid(TupleDesc rowdesc, int colnumber)SPI_gettypeid
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开