↑↓ 选择 ↵ 打开 ⌫ 改范围 完整检索页

pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。

PostgreSQL 文档检索

PG 18 · 按类别浏览,或输入名称与关键词

常用条目12356
ts_headline函数与运算符本站词条以缩略形式显示query在document中的匹配项;后者必须是原始文本,不能是tsvector。 Displays, in an abbreviated form, the match(es) for the query in the document, which must be raw text not a tsvector. ts_headline ( [config …函数 · 文本检索函数和操作符 ts_json扩展与模块扩展目录将 JSON 标量值拼接为文本用于全文检索 Flatten JSON scalar values into text for full-text search apod_fts 全文检索全文检索 · 扩展目录 ts_lexize函数与运算符本站词条如果词典识别输入词元,则返回由替换词位组成的数组;如果词典识别该词元,但它是停用词,则返回空数组;如果词典无法识别该词元,则返回NULL。 Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is…函数 · 文本检索函数和操作符 ts_parse函数与运算符本站词条使用指定名称的解析器从document中提取词元。 Extracts tokens from the document using the named parser. ts_parse ( parser_name text, document text ) → setof record ( tokid integer, token text ) ts_parse ( parse…函数 · 文本检索函数和操作符 ts_parser扩展与模块扩展目录APOD 演示中修改过的 PostgreSQL 全文检索解析器 Modified PostgreSQL full-text-search parser from the APOD demo apod_fts 全文检索全文检索 · 扩展目录 ts_rank函数与运算符本站词条计算一个分数,显示vector与query的匹配程度。 Computes a score showing how well the vector matches the query. ts_rank ( [weights real[], ] vector tsvector, query tsquery [, normalization integer] ) → real 文本检…函数 · 文本检索函数和操作符 ts_rank_cd函数与运算符本站词条使用覆盖密度算法计算一个分数,显示vector与query的匹配程度。 Computes a score showing how well the vector matches the query, using a cover density algorithm. ts_rank_cd ( [weights real[], ] vector tsvector, query ts…函数 · 文本检索函数和操作符 ts_rewrite函数与运算符本站词条在query中使用 substitute替换出现的target。 Replaces occurrences of target with substitute within the query. ts_rewrite ( query tsquery, target tsquery, substitute tsquery ) → tsquery ts_rewrite ( quer…函数 · 文本检索函数和操作符 ts_stat函数与运算符本站词条执行sqlquery,该查询必须返回单个tsvector列,并返回数据中每个不同词位的统计信息。 Executes the sqlquery, which must return a single tsvector column, and returns statistics about each distinct lexeme contained in the data. t…函数 · 文本检索函数和操作符 ts_token_type函数与运算符本站词条返回一个表,该表描述指定名称的解析器可以识别的每种类型的词元。 Returns a table that describes each type of token the named parser can recognize. ts_token_type ( parser_name text ) → setof record ( tokid integer, alias tex…函数 · 文本检索函数和操作符 tsearch2扩展与模块扩展目录Amazon RDS PostgreSQL 10 中已弃用的兼容扩展,为仍使用 8.3 之前 tsearch2 全文检索 API 的应用提供迁移过渡。 Deprecated Amazon RDS PostgreSQL 10 compatibility extension for applications using pre-8.3 tsearch2 full-text-sear…全文检索 · 扩展目录 tsearch_extras扩展与模块扩展目录提供全文检索匹配位置提取和 tsvector 词元枚举函数。 Full-text-search helpers for returning match locations and extracting tsvector lexemes. full-text-search match-location tsquery tsvector tsearch_extras 全文检索全文检索 · 扩展目录 tsexact扩展与模块扩展目录为 PostgreSQL 9.5 及更早版本提供精确短语匹配的全文检索辅助函数。 Full-text-search helpers for exact phrase matching on PostgreSQL 9.5 and earlier. exact-match full-text-search phrase-search tsexact 全文检索全文检索 · 扩展目录 tsexample扩展与模块扩展目录以 C 语言示范自定义全文检索解析器、词典模板、词典和文本检索配置的扩展。 Example C extension that defines a custom full-text parser, dictionary template, dictionary, and text-search configuration. dictionary example full-text…全文检索 · 扩展目录 tsf_fdw扩展与模块扩展目录Golden Helix 提供的 C 外部数据包装器,用于把一个或多个 TSF 基因组数据文件作为 PostgreSQL 外表读取。 Golden Helix C foreign data wrapper for reading one or more TSF genomic data files as PostgreSQL foreign tables. fdw genomi…外部数据源 · 扩展目录 tsm_handler数据类型本站词条表示表采样方法处理器被声明为返回 tsm_handler 。 伪类型 tsm_handler 目录名称 pg_catalog.tsm_handler 类型 OID 3310 类型种类 Pseudo-type 声明长度 4 字节 存储策略 plain 输入函数 tsm_handler_in 输出函数 tsm_handler_out 手册中的声明 tsm_handler 手册说明…数据类型 · 伪类型 tsm_system_rows扩展与模块PG18F.46. tsm_system_rows — TABLESAMPLE 的 SYSTEM_ROWS 采样方法 tsm_system_rows 模块提供表采样方法 SYSTEM_ROWS,它可用于 SELECT 命令的 TABLESAMPLE 子句中。这种表采样方法接受一个整数参数,表示最多读取多少行。除非表中没有足够的行,否则生成的样本将始终恰好包含这么多行;如果表中的行数不足…tsm_system_rows — TABLESAMPLE 的 SYSTEM_ROWS 采样方法 tsm_system_rows — TABLESAMPLE 的 SYSTEM_ROWS 采样方法章节正文PG18F.46. tsm_system_rows — TABLESAMPLE 的 SYSTEM_ROWS 采样方法 tsm_system_rows 模块提供表采样方法 SYSTEM_ROWS,它可用于 SELECT 命令的 TABLESAMPLE 子句中。这种表采样方法接受一个整数参数,表示最多读取多少行。除非表中没有足够的行,否则生成的样本将始终恰好包含这么多行;如果表中的行数不足…tsm_system_rows — TABLESAMPLE 的 SYSTEM_ROWS 采样方法 tsm_system_time扩展与模块PG18F.47. tsm_system_time — TABLESAMPLE 的 SYSTEM_TIME 采样方法 tsm_system_time 模块提供表采样方法 SYSTEM_TIME,它可用于 SELECT 命令的 TABLESAMPLE 子句中。这种表采样方法接受一个浮点参数,表示读取该表时最多可花费多少毫秒。这使你能够直接控制查询耗时,但代价是样本大小会变得难以预测。除非…tsm_system_time — TABLESAMPLE 的 SYSTEM_TIME 采样方法 tsm_system_time — TABLESAMPLE 的 SYSTEM_TIME 采样方法章节正文PG18F.47. tsm_system_time — TABLESAMPLE 的 SYSTEM_TIME 采样方法 tsm_system_time 模块提供表采样方法 SYSTEM_TIME,它可用于 SELECT 命令的 TABLESAMPLE 子句中。这种表采样方法接受一个浮点参数,表示读取该表时最多可花费多少毫秒。这使你能够直接控制查询耗时,但代价是样本大小会变得难以预测。除非…tsm_system_time — TABLESAMPLE 的 SYSTEM_TIME 采样方法 tsmultirange数据类型本站词条不带时区时间戳多范围 多范围 tsmultirange 目录名称 pg_catalog.tsmultirange 类型 OID 4533 类型种类 Multirange 声明长度 变长(varlena) 存储策略 扩展 输入函数 multirange_in 输出函数 multirange_out数据类型 · 多范围 tsp_semantic_headline扩展与模块扩展目录改进 PostgreSQL 全文检索的短语语义高亮,并支持基于预计算列的快速内容回显。 Phrase highlighting and improved semantics for ts_headline full-text-search headline phrase-search tsquery tsp_semantic_headline 全文检索全文检索 · 扩展目录 tsquery数据类型本站词条全文检索查询 全文检索 tsquery 目录名称 pg_catalog.tsquery 类型 OID 3615 类型种类 基础类型 声明长度 变长(varlena) 存储策略 plain 输入函数 tsqueryin 输出函数 tsqueryout数据类型 · 全文检索 tsquery章节正文PG188.11.2. tsquery tsquery 值存储要搜索的词位,并可用布尔操作符 &(AND)、|(OR)和 !(NOT)将它们组合起来,也可使用短语搜索操作符 <->(FOLLOWED BY)。此外,FOLLOWED BY 还有一种变体 <N>,其中 N 是整数常量,用于指定被搜索的两个词位之间的距离。<-> 等效于 <1>。可以使用圆括号强制指定这些操作符的分组方式。若…tsquery tsquery_phrase函数与运算符本站词条构造一个短语查询,在连续的词位上搜索query1和query2的匹配项(与<->操作符相同)。 Constructs a phrase query that searches for matches of query1 and query2 at successive lexemes (same as <-> operator). tsquery_phrase ( query1…函数 · 文本检索函数和操作符 tsrange数据类型本站词条不带时区时间戳范围 范围类型 tsrange 目录名称 pg_catalog.tsrange 类型 OID 3908 类型种类 范围 声明长度 变长(varlena) 存储策略 extended 输入函数 range_in 输出函数 range_out 存储策略 扩展数据类型 · 范围类型 tstzmultirange数据类型本站词条带时区时间戳多范围 多范围 tstzmultirange 目录名称 pg_catalog.tstzmultirange 类型 OID 4534 类型种类 Multirange 声明长度 变长(varlena) 存储策略 扩展 输入函数 multirange_in 输出函数 multirange_out数据类型 · 多范围 tstzrange数据类型本站词条带时区时间戳范围 范围类型 tstzrange 目录名称 pg_catalog.tstzrange 类型 OID 3910 类型种类 范围 声明长度 变长(varlena) 存储策略 extended 输入函数 range_in 输出函数 range_out 存储策略 扩展数据类型 · 范围类型 tsurugi_fdw扩展与模块扩展目录用于PostgreSQL的Tsurugi外部数据包装器 Tsurugi Foreign Data Wrapper for PostgreSQL. fdw foreign-data-wrapper postgresql-extension postgressql sql tsurugidb tsurugi_fdw 外部数据源外部数据源 · 扩展目录 tsvector数据类型本站词条全文检索文档 全文检索 tsvector 目录名称 pg_catalog.tsvector 类型 OID 3614 类型种类 基础类型 声明长度 变长(varlena) 存储策略 extended 输入函数 tsvectorin 输出函数 tsvectorout 存储策略 扩展数据类型 · 全文检索 tsvector章节正文PG188.11.1. tsvector tsvector 值是一个排好序且互不重复的词位(lexeme)列表,这些词已经过正规化,以便把同一单词的不同变体合并起来(详见第 12 章)。排序和去重会在输入时自动完成,如下例所示:SELECT 'a fat cat sat on a mat and ate a fat rat'::tsvector; tsvector ----------…tsvector tsvector2扩展与模块扩展目录PostgreSQL tsvector 的压缩替代类型,移除原始 1 MB 限制,并提供兼容的检索函数、GIN、GiST 及可选 RUM 索引。 Compressed alternative to PostgreSQL tsvector without the original 1 MB limit, with compatible search functions and G…全文检索 · 扩展目录 tsvector_to_array函数与运算符本站词条将tsvector转换为词位的数组。 Converts a tsvector to an array of lexemes. tsvector_to_array ( tsvector ) → text[] 文本检索函数和操作符函数 · 文本检索函数和操作符 tsvector_update_trigger函数与运算符本站词条根据关联的纯文本文档列自动更新tsvector列。 Automatically updates a tsvector column from associated plain-text document column(s). tsvector_update_trigger ( ) → trigger 触发器函数函数 · 触发器函数 tsvector_update_trigger_column函数与运算符本站词条根据关联的纯文本文档列自动更新tsvector列。 Automatically updates a tsvector column from associated plain-text document column(s). tsvector_update_trigger_column ( ) → trigger 触发器函数函数 · 触发器函数 tty连接参数本站词条已忽略;此参数过去用于指定服务器调试输出的发送位置。 会话与协议 tty 客户端库 libpq 10.23 手册定义 手册已记载 源码中的环境变量回退 PGTTY 编译时回退表达式 DefaultTty 默认值解析与服务文件优先级 以下环境变量可用于选择连接参数的默认值,供 PQconnectdb 、 PQsetdbLogin 和 PQsetdb 在调用代码未直接指定参数值时…连接参数 · 会话与协议 tuid扩展与模块扩展目录tuid数据类型 tuid datatype tuid 函数与聚合函数与聚合 · 扩展目录 tuple等待事件本站词条等待获取元组上的锁。 Waiting to acquire a lock on a tuple. `PG_WAIT_LOCK` 位于 `src/backend/storage/lmgr/proc.c:1487`,是经 grep 核验的报告路径。公共身份/资源映射位于 `src/backend/utils/activity/wait_event_names.txt:422`。探针…重量级锁 · 等待事件 tuple_fdw扩展与模块扩展目录用于追加写、LZ4 压缩二进制元组文件冷存储的概念验证型 C 外部数据包装器。 Proof-of-concept C foreign data wrapper for append-only, LZ4-compressed binary tuple files used as cold storage. append-only cold-storage compressed f…外部数据源 · 扩展目录 TupleData (logical replication)协议消息本站词条逻辑复制 TupleData 格式:列数。 逻辑复制格式 TupleData 层次 逻辑复制载荷,与前后端消息封装分开。 首个字段 Int16 协议上下文 本节说明各逻辑复制消息的详细格式。这些消息由复制槽 SQL 接口返回,或由 walsender 发送。由 walsender 发送时,它们被封装在复制协议的 WAL 消息中(参见第 52.4 节),消息流程通常与物理复制相…协议消息 · 逻辑复制格式
更多结果

输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。

pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开