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

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

PostgreSQL 文档检索

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

分类索引1772
jsonb_object_agg_unique_strict函数与运算符本站词条将所有键/值对收集到一个JSON对象中。 Collects all the key/value pairs into a JSON object. jsonb_object_agg_unique_strict ( key "any", value "any" ) → jsonb 聚合函数函数 · 聚合函数 jsonb_object_keys函数与运算符本站词条返回顶级JSON对象中的键集合。 Returns the set of keys in the top-level JSON object. jsonb_object_keys ( jsonb ) → setof text JSON 函数和操作符函数 · JSON 函数和操作符 jsonb_path_exists函数与运算符本站词条检查 JSON 路径是否为指定的 JSON 值返回任何项。 Checks whether the JSON path returns any item for the specified JSON value. jsonb_path_exists ( target jsonb, path jsonpath [, vars jsonb [, silent boolean]] ) …函数 · JSON 函数和操作符 jsonb_path_exists_tz函数与运算符本站词条这些函数的作用类似于上面描述的没有_tz后缀的对应函数,不同之处在于这些函数支持需要时区感知转换的日期/时间值的比较。 These functions act like their counterparts described above without the _tz suffix, except that these functions support comparison…函数 · JSON 函数和操作符 jsonb_path_match函数与运算符本站词条返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。 Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb […函数 · JSON 函数和操作符 jsonb_path_match_tz函数与运算符本站词条这些函数的作用类似于上面描述的没有_tz后缀的对应函数,不同之处在于这些函数支持需要时区感知转换的日期/时间值的比较。 These functions act like their counterparts described above without the _tz suffix, except that these functions support comparison…函数 · JSON 函数和操作符 jsonb_path_query函数与运算符本站词条为指定的 JSON 值返回由 JSON 路径返回的所有 JSON 项。 Returns all JSON items returned by the JSON path for the specified JSON value. jsonb_path_query ( target jsonb, path jsonpath [, vars jsonb [, silent bool…函数 · JSON 函数和操作符 jsonb_path_query_array函数与运算符本站词条以JSON数组的形式返回由JSON路径为指定的JSON值返回的所有JSON项。 Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. jsonb_path_query_array ( target jsonb, path jsonpath […函数 · JSON 函数和操作符 jsonb_path_query_array_tz函数与运算符本站词条这些函数的作用类似于上面描述的没有_tz后缀的对应函数,不同之处在于这些函数支持需要时区感知转换的日期/时间值的比较。 These functions act like their counterparts described above without the _tz suffix, except that these functions support comparison…函数 · JSON 函数和操作符 jsonb_path_query_first函数与运算符本站词条为指定的JSON值返回由JSON路径返回的第一个JSON项。 Returns the first JSON item returned by the JSON path for the specified JSON value, or NULL if there are no results. jsonb_path_query_first ( target jsonb, pat…函数 · JSON 函数和操作符 jsonb_path_query_first_tz函数与运算符本站词条这些函数的作用类似于上面描述的没有_tz后缀的对应函数,不同之处在于这些函数支持需要时区感知转换的日期/时间值的比较。 These functions act like their counterparts described above without the _tz suffix, except that these functions support comparison…函数 · JSON 函数和操作符 jsonb_path_query_tz函数与运算符本站词条这些函数的作用类似于上面描述的没有_tz后缀的对应函数,不同之处在于这些函数支持需要时区感知转换的日期/时间值的比较。 These functions act like their counterparts described above without the _tz suffix, except that these functions support comparison…函数 · JSON 函数和操作符 jsonb_populate_record函数与运算符本站词条将顶级 JSON 对象展开为一行,其复合类型与base参数相同。 Expands the top-level JSON object to a row having the composite type of the base argument. jsonb_populate_record ( base anyelement, from_json jsonb ) → anyel…函数 · JSON 函数和操作符 jsonb_populate_record_valid函数与运算符本站词条用于测试jsonb_populate_record的函数。 Function for testing jsonb_populate_record. jsonb_populate_record_valid ( base anyelement, from_json json ) → boolean JSON 函数和操作符函数 · JSON 函数和操作符 jsonb_populate_recordset函数与运算符本站词条将由对象组成的顶级 JSON 数组展开为一组行,其复合类型与base参数相同。 Expands the top-level JSON array of objects to a set of rows having the composite type of the base argument. jsonb_populate_recordset ( base anyelemen…函数 · JSON 函数和操作符 jsonb_pretty函数与运算符本站词条将给定的 JSON 值转换为经过美化并带有缩进的文本。 Converts the given JSON value to pretty-printed, indented text. jsonb_pretty ( jsonb ) → text JSON 函数和操作符函数 · JSON 函数和操作符 jsonb_set_lax函数与运算符本站词条如果new_value不是NULL,则行为与jsonb_set完全相同。 If new_value is not NULL, behaves identically to jsonb_set. jsonb_set_lax ( target jsonb, path text[], new_value jsonb [, create_if_missing boolean [, nu…函数 · JSON 函数和操作符 jsonb_strip_nulls函数与运算符本站词条递归地删除给定 JSON 值中所有值为 null 的对象字段。 Deletes all object fields that have null values from the given JSON value, recursively. jsonb_strip_nulls ( target jsonb [,strip_in_arrays boolean] ) → jsonb …函数 · JSON 函数和操作符 jsonb_to_record函数与运算符本站词条将顶级JSON对象展开为具有由 AS子句定义的复合类型的行。 Expands the top-level JSON object to a row having the composite type defined by an AS clause. jsonb_to_record ( jsonb ) → record JSON 函数和操作符函数 · JSON 函数和操作符 jsonb_to_recordset函数与运算符本站词条将顶级JSON对象数组展开为一组由AS子句定义的复合类型的行。 Expands the top-level JSON array of objects to a set of rows having the composite type defined by an AS clause. jsonb_to_recordset ( jsonb ) → setof record JS…函数 · JSON 函数和操作符 jsonb_to_tsvector函数与运算符本站词条选择filter请求的JSON文档中的每个项,并将每个项转换为tsvector,根据指定的或默认配置对单词进行正规化。 Selects each item in the JSON document that is requested by the filter and converts each one to a tsvector, normalizing words acco…函数 · 文本检索函数和操作符 jsonb_typeof函数与运算符本站词条以文本字符串形式返回顶级JSON值的类型。 Returns the type of the top-level JSON value as a text string. jsonb_typeof ( jsonb ) → text JSON 函数和操作符函数 · JSON 函数和操作符 justify_days函数与运算符本站词条调整间隔,将30天的时间段转换为月份 Adjust interval, converting 30-day time periods to months justify_days ( interval ) → interval 日期/时间函数和操作符函数 · 日期/时间函数和操作符 justify_hours函数与运算符本站词条调整间隔,将24小时时间段转换为天数 Adjust interval, converting 24-hour time periods to days justify_hours ( interval ) → interval 日期/时间函数和操作符函数 · 日期/时间函数和操作符 justify_interval函数与运算符本站词条使用 justify_days 和 justify_hours调整时间间隔,并额外调整符号 Adjust interval using justify_days and justify_hours, with additional sign adjustments justify_interval ( interval ) → interval 日期/时间函数和操作符函数 · 日期/时间函数和操作符 lag函数与运算符本站词条返回在分区内当前行之前offset行处计算的value;如果没有这样的行,则返回default(其类型必须与value兼容)。 Returns value evaluated at the row that is offset rows before the current row within the partition; if there is no such row, i…函数 · 窗口函数 last_value函数与运算符本站词条返回在窗口帧的最后一行求得的value。 Returns value evaluated at the row that is the last row of the window frame. last_value ( value anyelement ) [null treatment] → anyelement 窗口函数函数 · 窗口函数 lastval函数与运算符本站词条返回nextval在当前会话中最近返回的值。 Returns the value most recently returned by nextval in the current session. lastval () → bigint 序列操作函数函数 · 序列操作函数 latitude函数与运算符PG18latitude ( earth ) → float8 返回地球表面上一个点的纬度(以度数形式)。earthdistance — 计算大圆距离 › 基于立方体的地球距离 lca函数与运算符PG18lca ( ltree [, ltree [, ... ]] ) → ltree 计算路径的最长公共祖先(最多支持 8 个参数)。 lca('1.2.3', '1.2.3.4.5.6') → 1.2ltree — 层次树状数据类型 › 操作符和函数 lcm函数与运算符本站词条最小公倍数(同时为两个输入的整数倍的最小严格正数);如果任意一个输入值为零则返回0;适用于integer、bigint 和 numeric Least common multiple (the smallest strictly positive number that is an integral multiple of both inputs); returns 0 if …函数 · 数学函数和操作符 lead函数与运算符本站词条返回在分区内当前行之后offset行处计算的value;如果没有这样的行,则返回default(其类型必须与value兼容)。 Returns value evaluated at the row that is offset rows after the current row within the partition; if there is no such row, in…函数 · 窗口函数 LEAST函数与运算符本站词条GREATEST和LEAST函数从由任意数量的表达式组成的列表中选取最大值或最小值。 The GREATEST and LEAST functions select the largest or smallest value from a list of any number of expressions. LEAST(value [, ...]) 条件表达式函数 · 条件表达式 left函数与运算符本站词条返回字符串最左侧的 n 个字符;如果 n 为负,则返回除最后 |n| 个字符之外的全部字符。 Returns first n characters in the string, or when n is negative, returns all but last |n| characters. left ( string text, n integer ) → text 字符…函数 · 字符串函数和操作符 length函数与运算符本站词条返回字符串中的字符数。 Returns the number of characters in the string. length ( text ) → integer length ( bytea ) → integer length ( bytes bytea, encoding name ) → integer length ( bit ) → integer leng…函数 · 字符串函数和操作符 lgamma函数与运算符本站词条伽马函数绝对值的自然对数 Natural logarithm of the absolute value of the gamma function lgamma ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 line函数与运算符本站词条将两个点转换成通过它们的直线。 Converts two points to the line through them. line ( point, point ) → line 几何函数和操作符函数 · 几何函数和操作符 ll_to_earth函数与运算符PG18ll_to_earth ( float8, float8 ) → earth 给定某点以度为单位的纬度(参数 1)和经度(参数 2),返回该点在地球表面上的位置。earthdistance — 计算大圆距离 › 基于立方体的地球距离 ln函数与运算符本站词条自然对数 Natural logarithm ln ( numeric ) → numeric ln ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 lo_from_bytea函数与运算符PG18lo_from_bytea ( loid oid, data bytea ) → oid 创建一个大对象并将data存储在其中。如果loid为零,则系统会选择一个空闲 OID;否则就使用该 OID(如果某个大对象已经具有该 OID,则会报错)。成功时返回该大对象的 OID。 lo_from_bytea(0, '\xffffff00') → 24528服务器端函数
更多结果

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

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