PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
分类索引1772
array_remove从数组中移除与给定值相等的所有元素。
Removes all elements equal to the given value from the array.
array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray
数组函数和操作符函数 · 数组函数和操作符
array_replace将等于第二个参数的每个数组元素替换为第三个参数。
Replaces each array element equal to the second argument with the third argument.
array_replace ( anycompatiblearray, anycompatible, anycompatible ) → anycompatiblea…函数 · 数组函数和操作符
array_reverse反转数组的第一维。
Reverses the first dimension of the array.
array_reverse ( anyarray ) → anyarray
数组函数和操作符函数 · 数组函数和操作符
array_sample从array中随机选取n个项并返回一个数组。
Returns an array of n items randomly selected from array.
array_sample ( array anyarray, n integer ) → anyarray
数组函数和操作符函数 · 数组函数和操作符
array_shuffle随机打乱数组的第一维。
Randomly shuffles the first dimension of the array.
array_shuffle ( anyarray ) → anyarray
数组函数和操作符函数 · 数组函数和操作符
array_sort对数组的第一维进行排序。
Sorts the first dimension of the array.
array_sort ( array anyarray [, descending boolean [, nulls_first boolean]] ) → anyarray
数组函数和操作符函数 · 数组函数和操作符
array_to_json将SQL数组转换为JSON数组。
Converts an SQL array to a JSON array.
array_to_json ( anyarray [, boolean] ) → json
JSON 函数和操作符函数 · JSON 函数和操作符
array_to_string将每个数组元素转换为其文本表示,并将它们用delimiter字符串分隔连接起来。
Converts each array element to its text representation, and concatenates those separated by the delimiter string.
array_to_string ( array anyarray, d…函数 · 数组函数和操作符
array_to_tsvector将文本字符串数组转换为tsvector。
Converts an array of text strings to a tsvector.
array_to_tsvector ( text[] ) → tsvector
文本检索函数和操作符函数 · 文本检索函数和操作符
array_upper返回请求的数组维度的上界。
Returns the upper bound of the requested array dimension.
array_upper ( anyarray, integer ) → integer
数组函数和操作符函数 · 数组函数和操作符
ascii返回参数的第一个字符的数字代码。
Returns the numeric code of the first character of the argument.
ascii ( text ) → integer
字符串函数和操作符函数 · 字符串函数和操作符
asin反正弦,结果为弧度
Inverse sine, result in radians
asin ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
asind反正弦,结果为度数
Inverse sine, result in degrees
asind ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
asinh反双曲正弦
Inverse hyperbolic sine
asinh ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
atan反正切,结果为弧度
Inverse tangent, result in radians
atan ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
atan2y/x的反正切,结果为弧度
Inverse tangent of y/x, result in radians
atan2 ( y double precision, x double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
atan2dy/x的反正切,结果为度数
Inverse tangent of y/x, result in degrees
atan2d ( y double precision, x double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
atand反正切,结果为度数
Inverse tangent, result in degrees
atand ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
atanh反双曲正切
Inverse hyperbolic tangent
atanh ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
avalsavals ( hstore ) → text[] 将hstore的值提取为数组。 avals('a=>1,b=>2') → {1,2}hstore — hstore 键/值数据类型 › hstore 操作符和函数
avg计算所有非空输入值的平均值(算术平均值)。
Computes the average (arithmetic mean) of all the non-null input values.
avg ( smallint ) → numeric
avg ( integer ) → numeric
avg ( bigint ) → numeric
avg ( numeric ) →…函数 · 聚合函数
bit_and计算所有非空输入值的按位与。
Computes the bitwise AND of all non-null input values.
bit_and ( smallint ) → smallint
bit_and ( integer ) → integer
bit_and ( bigint ) → bigint
bit_and ( bit ) → bit
聚合函数函数 · 聚合函数
bit_count返回二进制字符串中被置位的位数(也称为“popcount”)。
Returns the number of bits set in the binary string (also known as “popcount”).
bit_count ( bytes bytea ) → bigint
bit_count ( bit ) → bigint
二进制串函数和操作符函数 · 二进制串函数和操作符
bit_length返回字符串中的位数(8倍于octet_length)。
Returns number of bits in the string (8 times the octet_length).
bit_length ( text ) → integer
bit_length ( bytea ) → integer
bit_length ( bit ) → integer
字符串函数和操…函数 · 字符串函数和操作符
bit_or计算所有非空输入值的按位或。
Computes the bitwise OR of all non-null input values.
bit_or ( smallint ) → smallint
bit_or ( integer ) → integer
bit_or ( bigint ) → bigint
bit_or ( bit ) → bit
聚合函数函数 · 聚合函数
bit_xor计算所有非空输入值的按位异或。
Computes the bitwise exclusive OR of all non-null input values.
bit_xor ( smallint ) → smallint
bit_xor ( integer ) → integer
bit_xor ( bigint ) → bigint
bit_xor ( bit ) → bi…函数 · 聚合函数
bool_and如果全部非空输入值都为真则返回真,否则返回假。
Returns true if all non-null input values are true, otherwise false.
bool_and ( boolean ) → boolean
聚合函数函数 · 聚合函数
bool_or如果任何非空输入值为真则返回真,否则返回假。
Returns true if any non-null input value is true, otherwise false.
bool_or ( boolean ) → boolean
聚合函数函数 · 聚合函数
bound_box计算两个矩形框的边界框。
Computes bounding box of two boxes.
bound_box ( box, box ) → box
几何函数和操作符函数 · 几何函数和操作符
box计算内接于圆的矩形框。
Computes box inscribed within the circle.
box ( circle ) → box
box ( point ) → box
box ( point, point ) → box
box ( polygon ) → box
几何函数和操作符函数 · 几何函数和操作符
brin_desummarize_range如果存在涵盖指定表块的页面范围摘要,则删除对应的 BRIN 索引元组。
Removes the BRIN index tuple that summarizes the page range covering the given table block, if there is one.
brin_desummarize_range ( index regclass, bloc…函数 · 系统管理函数
brin_summarize_new_values扫描指定的BRIN索引以查找基表中当前尚未生成索引摘要的页面范围;对于任何这样的范围,它都通过扫描这些表页来创建一个新的摘要索引元组。
Scans the specified BRIN index to find page ranges in the base table that are not currently summarized by the index; for a…函数 · 系统管理函数
brin_summarize_range对覆盖给定块的页面范围执行摘要(如果尚未摘要)。
Summarizes the page range covering the given block, if not already summarized.
brin_summarize_range ( index regclass, blockNumber bigint ) → integer
系统管理函数函数 · 系统管理函数
broadcast为地址的网络计算广播地址。
Computes the broadcast address for the address's network.
broadcast ( inet ) → inet
网络地址函数和操作符函数 · 网络地址函数和操作符
btrim从string的开头和结尾移除仅由characters中字符(默认为空格)组成的最长字符串。
Removes the longest string containing only characters in characters (a space by default) from the start and end of string.
btrim ( string text …函数 · 字符串函数和操作符
cardinality返回数组中元素的总数,如果数组为空则返回0。
Returns the total number of elements in the array, or 0 if the array is empty.
cardinality ( anyarray ) → integer
数组函数和操作符函数 · 数组函数和操作符
casefold根据排序规则对输入字符串执行大小写折叠。
Performs case folding of the input string according to the collation.
casefold ( text ) → text
字符串函数和操作符函数 · 字符串函数和操作符
cbrt立方根
Cube root
cbrt ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
ceil大于或等于参数的最接近的整数
Nearest integer greater than or equal to argument
ceil ( numeric ) → numeric
ceil ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
ceiling大于或等于参数的最接近的整数(与 ceil 相同)
Nearest integer greater than or equal to argument (same as ceil)
ceiling ( numeric ) → numeric
ceiling ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开