PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
分类索引1772
@@@@ geometric_type → point 计算中心点。适用于box,lseg,polygon,circle。 @@ box '(2,2),(0,0)' → (1,1)几何函数和操作符
@@(jsonb,jsonpath)jsonpath 匹配
JSON
@@(jsonb,jsonpath) → bool
左操作数 jsonb
右操作数 jsonpath
返回类型 bool
实现函数 jsonb_path_match_opr(jsonb,jsonpath)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 …运算符 · JSON
@@(none,box)中心点
几何
@@(none,box) → point
左操作数 none
右操作数 box
返回类型 point
实现函数 box_center(box)
操作符种类 Prefix
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节 。
未使用的列包含零。例如…运算符 · 几何
@@(none,circle)中心点
几何
@@(none,circle) → point
左操作数 none
右操作数 circle
返回类型 point
实现函数 circle_center(circle)
操作符种类 Prefix
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节 。…运算符 · 几何
@@(none,lseg)中心点
几何
@@(none,lseg) → point
左操作数 none
右操作数 lseg
返回类型 point
实现函数 lseg_center(lseg)
操作符种类 Prefix
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节 。
未使用的列包含…运算符 · 几何
@@(none,path)中心点
几何
@@(none,path) → point
左操作数 none
右操作数 path
返回类型 point
实现函数 path_center(path)
操作符种类 Prefix
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节 。
未使用的列包含…运算符 · 几何
@@(none,polygon)中心点
几何
@@(none,polygon) → point
左操作数 none
右操作数 polygon
返回类型 point
实现函数 poly_center(polygon)
操作符种类 Prefix
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节 …运算符 · 几何
@@(text,text)全文检索匹配
字符串
@@(text,text) → bool
左操作数 text
右操作数 text
返回类型 bool
实现函数 ts_match_tt(text,text)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节 。
…运算符 · 字符串
@@(text,tsquery)全文检索匹配
字符串
@@(text,tsquery) → bool
左操作数 text
右操作数 tsquery
返回类型 bool
实现函数 ts_match_tq(text,tsquery)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 3…运算符 · 字符串
@@(tsquery,tsvector)全文检索匹配
全文检索
@@(tsquery,tsvector) → bool
左操作数 tsquery
右操作数 tsvector
返回类型 bool
实现函数 ts_match_qv(tsquery,tsvector)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE O…运算符 · 全文检索
@@(tsvector,tsquery)全文检索匹配
全文检索
@@(tsvector,tsquery) → bool
左操作数 tsvector
右操作数 tsquery
返回类型 bool
实现函数 ts_match_vq(tsvector,tsquery)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE O…运算符 · 全文检索
@@@(tsquery,tsvector)已弃用,请改用 @@
全文检索
@@@(tsquery,tsvector) → bool
左操作数 tsquery
右操作数 tsvector
返回类型 bool
实现函数 ts_match_qv(tsquery,tsvector)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CRE…运算符 · 全文检索
@@@(tsvector,tsquery)已弃用,请改用 @@
全文检索
@@@(tsvector,tsquery) → bool
左操作数 tsvector
右操作数 tsquery
返回类型 bool
实现函数 ts_match_vq(tsvector,tsquery)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CRE…运算符 · 全文检索
^numeric ^ numeric → numeric double precision ^ double precision → double precision 求幂 2 ^ 3 → 8 与通常的数学惯例不同,多次使用^时默认从左到右结合: 2 ^ 3 ^ 3 → 512 2 ^ (3 ^ 3) → 134217728数学函数和操作符
^(float8,float8)乘方
数值
^(float8,float8) → float8
左操作数 float8
右操作数 float8
返回类型 float8
实现函数 dpow(float8,float8)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 37.12 节…运算符 · 数值
^(numeric,numeric)乘方
数值
^(numeric,numeric) → numeric
左操作数 numeric
右操作数 numeric
返回类型 numeric
实现函数 numeric_power(numeric,numeric)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPE…运算符 · 数值
^@text ^@ text → boolean 如果第一个字符串以第二个字符串开头,则返回true(等同于starts_with()函数)。 'alphabet' ^@ 'alph' → t字符串函数和操作符
^@(text,text)以前缀开头
字符串
^@(text,text) → bool
左操作数 text
右操作数 text
返回类型 bool
实现函数 starts_with(text,text)
操作符种类 Binary
可用于哈希连接 否
可用于归并连接 否
目录记录解读
目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 38.13 节 。
未…运算符 · 字符串
abbrev创建文本形式的缩写显示格式。
Creates an abbreviated display format as text.
abbrev ( inet ) → text
abbrev ( cidr ) → text
网络地址函数和操作符函数 · 网络地址函数和操作符
abs绝对值
Absolute value
abs ( numeric_type ) → numeric_type
数学函数和操作符函数 · 数学函数和操作符
acldefault构造一个aclitem数组,保存类型为type、属于 OID 为ownerId的角色的对象的默认访问权限。
Constructs an aclitem array holding the default access privileges for an object of type type belonging to the role with OID ownerId.
acl…函数 · 系统信息函数和操作符
aclexplode以行集的形式返回aclitem数组。
Returns the aclitem array as a set of rows.
aclexplode ( aclitem[] ) → setof record ( grantor oid, grantee oid, privilege_type text, is_grantable boolean )
系统信息函数和操作符函数 · 系统信息函数和操作符
acos反余弦,结果为弧度
Inverse cosine, result in radians
acos ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
acosd反余弦,结果为度数
Inverse cosine, result in degrees
acosd ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
acosh反双曲余弦
Inverse hyperbolic cosine
acosh ( double precision ) → double precision
数学函数和操作符函数 · 数学函数和操作符
age将两个参数相减,生成一个使用年和月而不是只用日的“符号化”结果
Subtract arguments, producing a “symbolic” result that uses years and months, rather than just days
age ( timestamp, timestamp ) → interval
age ( timestamp ) …函数 · 日期/时间函数和操作符
akeysakeys ( hstore ) → text[] 将hstore的键提取为数组。 akeys('a=>1,b=>2') → {a,b}hstore — hstore 键/值数据类型 › hstore 操作符和函数
any_value从非空输入值中返回任意一个值。
Returns an arbitrary value from the non-null input values.
any_value ( anyelement ) → same as input type
聚合函数函数 · 聚合函数
area计算面积。
Computes area.
area ( geometric_type ) → double precision
几何函数和操作符函数 · 几何函数和操作符
array_agg将所有输入值,包括空值,收集到一个数组中。
Collects all the input values, including nulls, into an array.
array_agg ( anynonarray ORDER BY input_sort_columns ) → anyarray
array_agg ( anyarray ORDER BY input_sort…函数 · 聚合函数
array_append向一个数组的末端追加一个元素(等同于 anycompatiblearray || anycompatible 操作符)。
Appends an element to the end of an array (same as the anycompatiblearray || anycompatible operator).
array_append ( anycompatibl…函数 · 数组函数和操作符
array_cat连接两个数组(等同于 anycompatiblearray || anycompatiblearray 操作符)。
Concatenates two arrays (same as the anycompatiblearray || anycompatiblearray operator).
array_cat ( anycompatiblearray, anycompatib…函数 · 数组函数和操作符
array_dims返回数组维度的文本表示形式。
Returns a text representation of the array's dimensions.
array_dims ( anyarray ) → text
数组函数和操作符函数 · 数组函数和操作符
array_fill返回用给定值的副本填充的数组,各维的长度由第二个参数指定。
Returns an array filled with copies of the given value, having dimensions of the lengths specified by the second argument.
array_fill ( anyelement, integer[] [,…函数 · 数组函数和操作符
array_length返回请求的数组维度的长度。
Returns the length of the requested array dimension.
array_length ( anyarray, integer ) → integer
数组函数和操作符函数 · 数组函数和操作符
array_lower返回请求的数组维度的下界。
Returns the lower bound of the requested array dimension.
array_lower ( anyarray, integer ) → integer
数组函数和操作符函数 · 数组函数和操作符
array_ndims返回数组的维度数。
Returns the number of dimensions of the array.
array_ndims ( anyarray ) → integer
数组函数和操作符函数 · 数组函数和操作符
array_position返回第二个参数在数组中首次出现的下标;若不存在,则返回NULL。
Returns the subscript of the first occurrence of the second argument in the array, or NULL if it's not present.
array_position ( anycompatiblearray, anycompa…函数 · 数组函数和操作符
array_positions返回第二个参数在第一个参数所给数组中所有出现位置的下标数组。
Returns an array of the subscripts of all occurrences of the second argument in the array given as first argument.
array_positions ( anycompatiblearray, anycom…函数 · 数组函数和操作符
array_prepend在数组的开头添加一个元素(等同于anycompatible || anycompatiblearray操作符)。
Prepends an element to the beginning of an array (same as the anycompatible || anycompatiblearray operator).
array_prepend ( anycompa…函数 · 数组函数和操作符
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开