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

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

PostgreSQL 文档检索

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

分类索引1772
center函数与运算符本站词条计算中心点。 Computes center point. center ( geometric_type ) → point 几何函数和操作符函数 · 几何函数和操作符 char_length函数与运算符本站词条返回字符串中的字符数。 Returns number of characters in the string. char_length ( text ) → integer 字符串函数和操作符函数 · 字符串函数和操作符 character_length函数与运算符本站词条返回字符串中的字符数。 Returns number of characters in the string. character_length ( text ) → integer 字符串函数和操作符函数 · 字符串函数和操作符 chr函数与运算符本站词条返回给定代码的字符。 Returns the character with the given code. chr ( integer ) → text 字符串函数和操作符函数 · 字符串函数和操作符 circle函数与运算符本站词条计算包围矩形框的最小圆。 Computes smallest circle enclosing box. circle ( box ) → circle circle ( point, double precision ) → circle circle ( polygon ) → circle 几何函数和操作符函数 · 几何函数和操作符 clock_timestamp函数与运算符本站词条当前日期和时间(在语句执行期间变化);参见第 9.9.5 节 Current date and time (changes during statement execution); see Section 9.9.5 clock_timestamp ( ) → timestamp with time zone clock_timestamp() 日期/时间函数和操作符函数 · 日期/时间函数和操作符 COALESCE函数与运算符本站词条COALESCE函数返回参数中第一个不为 null 的值。 The COALESCE function returns the first of its arguments that is not null. COALESCE(value [, ...]) 条件表达式函数 · 条件表达式 col_description函数与运算符本站词条返回表列的注释,列由所属表的 OID 和列号指定。 Returns the comment for a table column, which is specified by the OID of its table and its column number. col_description ( table oid, column integer ) → text 系统信息函…函数 · 系统信息函数和操作符 concat函数与运算符本站词条串接所有参数的文本表示。 Concatenates the text representations of all the arguments. concat ( val1 "any" [, val2 "any" [, ...] ] ) → text 字符串函数和操作符函数 · 字符串函数和操作符 concat_ws函数与运算符本站词条用分隔符串接除第一个参数外的所有参数。 Concatenates all but the first argument, with separators. concat_ws ( sep text, val1 "any" [, val2 "any" [, ...] ] ) → text 字符串函数和操作符函数 · 字符串函数和操作符 connectby函数与运算符PG18connectby ( relname text, keyid_fld text, parent_keyid_fld text [, orderby_fld text ], start_with text, max_depth integer [, branch_delim text ] ) → setof record 生成层次树结构的表示形式。tablefunc — 返回表的函数(crosstab 等) › 提供的函数 convert函数与运算符本站词条将表示编码src_encoding的文本的二进制字符串转换为编码dest_encoding的二进制字符串(适用的转换请参阅第 23.3.4 节)。 Converts a binary string representing text in encoding src_encoding to a binary string in encoding dest_encoding (se…函数 · 二进制串函数和操作符 convert_from函数与运算符本站词条将表示编码src_encoding的文本的二进制字符串转换为数据库编码中的text。 Converts a binary string representing text in encoding src_encoding to text in the database encoding (see Section 23.3.4 for available conversions)…函数 · 二进制串函数和操作符 convert_to函数与运算符本站词条将text字符串(数据库编码)转换为编码dest_encoding中编码的二进制字符串。 Converts a text string (in the database encoding) to a binary string encoded in encoding dest_encoding (see Section 23.3.4 for available conversi…函数 · 二进制串函数和操作符 corr函数与运算符本站词条计算相关系数。 Computes the correlation coefficient. corr ( Y double precision, X double precision ) → double precision 聚合函数函数 · 聚合函数 cos函数与运算符本站词条余弦,参数为弧度 Cosine, argument in radians cos ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 cosd函数与运算符本站词条余弦,参数为度数 Cosine, argument in degrees cosd ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 cosh函数与运算符本站词条双曲余弦 Hyperbolic cosine cosh ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 cot函数与运算符本站词条余切,参数为弧度 Cotangent, argument in radians cot ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 cotd函数与运算符本站词条余切,参数为度数 Cotangent, argument in degrees cotd ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 count函数与运算符本站词条计算输入行的数量。 Computes the number of input rows. count ( * ) → bigint count ( "any" ) → bigint 聚合函数函数 · 聚合函数 covar_pop函数与运算符本站词条计算总体协方差。 Computes the population covariance. covar_pop ( Y double precision, X double precision ) → double precision 聚合函数函数 · 聚合函数 covar_samp函数与运算符本站词条计算样本协方差。 Computes the sample covariance. covar_samp ( Y double precision, X double precision ) → double precision 聚合函数函数 · 聚合函数 crc32函数与运算符本站词条计算二进制字符串的 CRC-32 值。 Computes the CRC-32 value of the binary string. crc32 ( bytea ) → bigint 二进制串函数和操作符函数 · 二进制串函数和操作符 crc32c函数与运算符本站词条计算二进制字符串的 CRC-32C 值。 Computes the CRC-32C value of the binary string. crc32c ( bytea ) → bigint 二进制串函数和操作符函数 · 二进制串函数和操作符 crosstab函数与运算符PG18crosstab ( sql text ) → setof record 生成一个“透视表”,其中包含行名以及 N 个值列,其中 N 由调用查询中指定的行类型决定。tablefunc — 返回表的函数(crosstab 等) › 提供的函数 crosstabN函数与运算符PG18crosstabN ( sql text ) → setof table_crosstab_N 生成一个“透视表”,其中包含行名以及 N 个值列。crosstab2、crosstab3 和 crosstab4 是预定义的,但也可以按下文所述创建额外的 crosstabN 函数。tablefunc — 返回表的函数(crosstab 等) › 提供的函数 cube函数与运算符PG18cube ( float8 ) → cube 创建一个一维立方体,其两个坐标相同。 cube(1) → (1)cube — 多维立方体数据类型 › 用法 cube_dim函数与运算符PG18cube_dim ( cube ) → integer 返回立方体的维数。 cube_dim('(1,2),(3,4)') → 2cube — 多维立方体数据类型 › 用法 cube_distance函数与运算符PG18cube_distance ( cube, cube ) → float8 返回两个立方体之间的距离。如果两个立方体都是点,这就是普通的距离函数。 cube_distance('(1,2)', '(3,4)') → 2.8284271247461903cube — 多维立方体数据类型 › 用法 cube_enlarge函数与运算符PG18cube_enlarge ( c cube, r double, n integer ) → cube 以指定的半径 r 在至少 n 个维度上增大立方体的尺寸。如果半径为负,则会改为收缩立方体。所有已定义维度都会按半径 r 调整。左下角坐标减去 r,右上角坐标加上 r。如果某个左下角坐标增加到超过对应的右上角坐标(这只会在 r < 0 时发生),则两个坐标都会被设为它们的平均值…cube — 多维立方体数据类型 › 用法 cube_inter函数与运算符PG18cube_inter ( cube, cube ) → cube 生成两个立方体的交集。 cube_inter('(1,2)', '(3,4)') → (3, 4),(1, 2)cube — 多维立方体数据类型 › 用法 cube_is_point函数与运算符PG18cube_is_point ( cube ) → boolean 如果立方体是一个点,也就是定义它的两个角相同,则返回真。 cube_is_point(cube(1,1)) → tcube — 多维立方体数据类型 › 用法 cube_ll_coord函数与运算符PG18cube_ll_coord ( cube, integer ) → float8 返回立方体左下角的第 n 个坐标值。 cube_ll_coord('(1,2),(3,4)', 2) → 2cube — 多维立方体数据类型 › 用法 cube_subset函数与运算符PG18cube_subset ( cube, integer[] ) → cube 根据数组中给出的维度索引列表,从现有立方体创建一个新立方体。可用于提取单个维度的端点、删除维度,或者按需要重新排列维度。 cube_subset(cube('(1,3,5),(6,7,8)'), ARRAY[2]) → (3),(7) cube_subset(cube('(1,3,5),(6,7,8)…cube — 多维立方体数据类型 › 用法 cube_union函数与运算符PG18cube_union ( cube, cube ) → cube 生成两个立方体的并集。 cube_union('(1,2)', '(3,4)') → (1, 2),(3, 4)cube — 多维立方体数据类型 › 用法 cube_ur_coord函数与运算符PG18cube_ur_coord ( cube, integer ) → float8 返回立方体右上角的第 n 个坐标值。 cube_ur_coord('(1,2),(3,4)', 2) → 4cube — 多维立方体数据类型 › 用法 cume_dist函数与运算符本站词条计算累积分布,也就是(位于假想行之前或与假想行同等的行数)/(总行数)。 Computes the cumulative distribution, that is (number of rows preceding or peers with hypothetical row) / (total rows). cume_dist ( args ) WITHIN GROUP (…函数 · 聚合函数 current_catalog函数与运算符本站词条返回当前数据库的名称。 Returns the name of the current database. current_catalog → name 系统信息函数和操作符函数 · 系统信息函数和操作符 current_database函数与运算符本站词条返回当前数据库的名称。 Returns the name of the current database. current_database () → name 系统信息函数和操作符函数 · 系统信息函数和操作符
更多结果

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

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