PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
分类索引1772
to_regoperator将文本操作符名称(带有参数类型)转换为其OID。
Translates a textual operator name (with parameter types) to its OID.
to_regoperator ( text ) → regoperator
系统信息函数和操作符函数 · 系统信息函数和操作符
to_regproc将文本函数或过程名转换为其OID。
Translates a textual function or procedure name to its OID.
to_regproc ( text ) → regproc
系统信息函数和操作符函数 · 系统信息函数和操作符
to_regprocedure将文本函数或过程名(带有参数类型)转换为其OID。
Translates a textual function or procedure name (with argument types) to its OID.
to_regprocedure ( text ) → regprocedure
系统信息函数和操作符函数 · 系统信息函数和操作符
to_regrole将文本角色名转换为它的OID。
Translates a textual role name to its OID.
to_regrole ( text ) → regrole
系统信息函数和操作符函数 · 系统信息函数和操作符
to_regtype解析文本字符串,从中提取可能的类型名,并将该名称转换为类型 OID。
Parses a string of text, extracts a potential type name from it, and translates that name into a type OID.
to_regtype ( text ) → regtype
系统信息函数和操作符函数 · 系统信息函数和操作符
to_regtypemod解析文本字符串,从中提取可能的类型名称,并转换其类型修饰符(如果有)。
Parses a string of text, extracts a potential type name from it, and translates its type modifier, if any.
to_regtypemod ( text ) → integer
系统信息函数和操作符函数 · 系统信息函数和操作符
to_timestamp根据给定的格式将字符串转换为时间戳。
Converts string to time stamp according to the given format.
to_timestamp ( text, text ) → timestamp with time zone
to_timestamp ( double precision ) → timestamp with time…函数 · 数据类型格式化函数
to_tsquery将文本转换为tsquery,根据指定的或默认配置对单词进行正规化。
Converts text to a tsquery, normalizing words according to the specified or default configuration.
to_tsquery ( [config regconfig, ] query text ) → tsquery
…函数 · 文本检索函数和操作符
to_tsvector将文本转换为tsvector,根据指定的或默认配置对单词进行正规化。
Converts text to a tsvector, normalizing words according to the specified or default configuration.
to_tsvector ( [config regconfig, ] document text ) → ts…函数 · 文本检索函数和操作符
transaction_timestamp当前日期和时间(当前事务开始时);参见第 9.9.5 节
Current date and time (start of current transaction); see Section 9.9.5
transaction_timestamp ( ) → timestamp with time zone
transaction_timestamp()
日期/时间函数和操作符函数 · 日期/时间函数和操作符
translate将string中与from集合中匹配的每个字符替换为to集合中相应的字符。
Replaces each character in string that matches a character in the from set with the corresponding character in the to set.
translate ( string text, from…函数 · 字符串函数和操作符
trim从string的开始、末端或两端(默认为BOTH)移除仅包含characters(默认为空格)字符的最长字符串。
Removes the longest string containing only characters in characters (a space by default) from the start, end, or both ends (BOTH is t…函数 · 字符串函数和操作符
trim_array通过删除最后的n个元素来裁剪数组。
Trims an array by removing the last n elements.
trim_array ( array anyarray, n integer ) → anyarray
数组函数和操作符函数 · 数组函数和操作符
trim_scale通过移除尾随零来减少值的小数位数
Reduces the value's scale (number of fractional decimal digits) by removing trailing zeroes
trim_scale ( numeric ) → numeric
数学函数和操作符函数 · 数学函数和操作符
trunc向零截断为整数
Truncates to integer (towards zero)
trunc ( numeric ) → numeric
trunc ( double precision ) → double precision
trunc ( v numeric, s integer ) → numeric
trunc ( macaddr ) → macaddr
tru…函数 · 数学函数和操作符
ts_debug根据指定的或默认的文本检索配置从document中提取和正规化词元,并返回关于每个词元是如何处理的信息。
Extracts and normalizes tokens from the document according to the specified or default text search configuration, and returns information…函数 · 文本检索函数和操作符
ts_delete从vector中删除给定的lexeme的所有出现。
Removes any occurrence of the given lexeme from the vector.
ts_delete ( vector tsvector, lexeme text ) → tsvector
ts_delete ( vector tsvector, lexemes text[] ) → ts…函数 · 文本检索函数和操作符
ts_filter只从vector中选择具有给定weights的元素。
Selects only elements with the given weights from the vector.
ts_filter ( vector tsvector, weights "char"[] ) → tsvector
文本检索函数和操作符函数 · 文本检索函数和操作符
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_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_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…函数 · 文本检索函数和操作符
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…函数 · 文本检索函数和操作符
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
触发器函数函数 · 触发器函数
txid_current参见 pg_current_xact_id()。
See pg_current_xact_id().
txid_current () → bigint
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_current_if_assigned参见 pg_current_xact_id_if_assigned()。
See pg_current_xact_id_if_assigned().
txid_current_if_assigned () → bigint
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_current_snapshot参见 pg_current_snapshot()。
See pg_current_snapshot().
txid_current_snapshot () → txid_snapshot
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_snapshot_xip参见 pg_snapshot_xip()。
See pg_snapshot_xip().
txid_snapshot_xip ( txid_snapshot ) → setof bigint
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_snapshot_xmax参见 pg_snapshot_xmax()。
See pg_snapshot_xmax().
txid_snapshot_xmax ( txid_snapshot ) → bigint
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_snapshot_xmin参见 pg_snapshot_xmin()。
See pg_snapshot_xmin().
txid_snapshot_xmin ( txid_snapshot ) → bigint
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_status参见 pg_xact_status()。
See pg_xact_status().
txid_status ( bigint ) → text
系统信息函数和操作符函数 · 系统信息函数和操作符
txid_visible_in_snapshot参见 pg_visible_in_snapshot()。
See pg_visible_in_snapshot().
txid_visible_in_snapshot ( bigint, txid_snapshot ) → boolean
系统信息函数和操作符函数 · 系统信息函数和操作符
unicode_assigned如果字符串中的所有字符都是已分配的 Unicode 码点,则返回true;否则返回false。
Returns true if all characters in the string are assigned Unicode codepoints; false otherwise.
unicode_assigned ( text ) → boolean
字符串函数和操作符函数 · 字符串函数和操作符
unicode_version返回一个表示PostgreSQL所使用的 Unicode 版本的字符串。
Returns a string representing the version of Unicode used by PostgreSQL.
unicode_version () → text
系统信息函数和操作符函数 · 系统信息函数和操作符
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开