PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
常用条目12289
cube_enlargecube_enlarge ( c cube, r double, n integer ) → cube 以指定的半径 r 在至少 n 个维度上增大立方体的尺寸。如果半径为负,则会改为收缩立方体。所有已定义维度都会按半径 r 调整。左下角坐标减去 r,右上角坐标加上 r。如果某个左下角坐标增加到超过对应的右上角坐标(这只会在 r < 0 时发生),则两个坐标都会被设为它们的平均值…cube — 多维立方体数据类型 › 用法
cube_intercube_inter ( cube, cube ) → cube 生成两个立方体的交集。 cube_inter('(1,2)', '(3,4)') → (3, 4),(1, 2)cube — 多维立方体数据类型 › 用法
cube_is_pointcube_is_point ( cube ) → boolean 如果立方体是一个点,也就是定义它的两个角相同,则返回真。 cube_is_point(cube(1,1)) → tcube — 多维立方体数据类型 › 用法
cube_ll_coordcube_ll_coord ( cube, integer ) → float8 返回立方体左下角的第 n 个坐标值。 cube_ll_coord('(1,2),(3,4)', 2) → 2cube — 多维立方体数据类型 › 用法
cube_subsetcube_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_unioncube_union ( cube, cube ) → cube 生成两个立方体的并集。 cube_union('(1,2)', '(3,4)') → (1, 2),(3, 4)cube — 多维立方体数据类型 › 用法
cube_ur_coordcube_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 (…函数 · 聚合函数
currency使用1字节表示的货币数据类型
Custom PostgreSQL currency type in 1Byte
pg_currency
数据类型数据类型 · 扩展目录
current_catalog返回当前数据库的名称。
Returns the name of the current database.
current_catalog → name
系统信息函数和操作符函数 · 系统信息函数和操作符
current_database返回当前数据库的名称。
Returns the name of the current database.
current_database () → name
系统信息函数和操作符函数 · 系统信息函数和操作符
current_date当前日期;参见第 9.9.5 节
Current date; see Section 9.9.5
current_date → date
日期/时间函数和操作符函数 · 日期/时间函数和操作符
current_datecurrent_date → date 当前日期;参见第 9.9.5 节 current_date → 2019-12-23日期/时间函数和操作符
current_logfiles记录日志收集器当前正在写入的日志文件的文件
PGDATA 路径
$PGDATA/current_logfiles
相对路径 current_logfiles存储结构 · PGDATA 路径
current_query返回客户端提交的当前正在执行的查询文本(可能包含多条语句)。
Returns the text of the currently executing query, as submitted by the client (which might contain more than one statement).
current_query () → text
系统信息函数和操作符函数 · 系统信息函数和操作符
current_role这个等同于 current_user。
This is equivalent to current_user.
current_role → name
系统信息函数和操作符函数 · 系统信息函数和操作符
current_rolecurrent_role → name 这个等同于 current_user。系统信息函数和操作符 › 会话信息函数
current_schema返回在搜索路径中的第一个模式的名称(如果搜索路径为空则返回空值)。
Returns the name of the schema that is first in the search path (or a null value if the search path is empty).
current_schema → name
current_schema () → nam…函数 · 系统信息函数和操作符
current_schemas返回当前有效搜索路径中所有模式名称的数组,按优先级排序。
Returns an array of the names of all schemas presently in the effective search path, in their priority order.
current_schemas ( include_implicit boolean ) → name…函数 · 系统信息函数和操作符
current_setting返回设置setting_name的当前值。
Returns the current value of the setting setting_name.
current_setting ( setting_name text [, missing_ok boolean] ) → text
系统管理函数函数 · 系统管理函数
current_time一天中的当前时刻;参见第 9.9.5 节
Current time of day; see Section 9.9.5
current_time → time with time zone
current_time ( integer ) → time with time zone
CURRENT_TIME(precision)
日期/时间函数和操作符函数 · 日期/时间函数和操作符
current_timecurrent_time → time with time zone 一天中的当前时刻;参见第 9.9.5 节 current_time → 14:39:53.662522-05日期/时间函数和操作符
current_timestamp当前日期和时间(当前事务开始时);参见第 9.9.5 节
Current date and time (start of current transaction); see Section 9.9.5
current_timestamp → timestamp with time zone
current_timestamp ( integer ) → timestamp wi…函数 · 日期/时间函数和操作符
current_timestampcurrent_timestamp → timestamp with time zone 当前日期和时间(当前事务开始时);参见第 9.9.5 节 current_timestamp → 2019-12-23 14:39:53.662522-05日期/时间函数和操作符
current_user返回当前执行上下文的用户名。
Returns the user name of the current execution context.
current_user → name
系统信息函数和操作符函数 · 系统信息函数和操作符
current_usercurrent_user → name 返回当前执行上下文的用户名。系统信息函数和操作符 › 会话信息函数
currval返回当前会话中最近一次针对该序列调用nextval所获得的值。
Returns the value most recently obtained by nextval for this sequence in the current session.
currval ( regclass ) → bigint
序列操作函数函数 · 序列操作函数
cursor_to_xmltable_to_xml映射由参数table传递的命名表的内容。
table_to_xml maps the content of the named table, passed as parameter table.
cursor_to_xml ( cursor refcursor, count integer, nulls boolean, tableforest bool…函数 · XML 函数
cursor_to_xmlschema必须传入相同的参数,才能得到彼此匹配的 XML 数据映射和 XML 模式文档。
It is essential that the same parameters are passed in order to obtain matching XML data mappings and XML Schema documents.
cursor_to_xmlschema ( curs…函数 · XML 函数
cursor_tuple_fraction设置规划器对游标实际取回行比例的估计。
Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved.
cursor_tuple_fraction:设置规划器对游标实际取回行比例的估计。实测在档范围为 PG9.0–19 Beta 4;最后在档的 PG19 Beta 4 …配置参数 · 查询规划 / 其他规划器选项
Custom Scan执行自定义扫描提供方给出的计划。
CustomScan
扩展机制
核心节点标签 T_CustomScan
结构化 EXPLAIN 节点类型 Custom Scan
输入 提供方定义的计划,可能包含子计划
输出 提供方定义的元组
执行器初始化函数 ExecInitCustomScan
内存机制 unclassified
EXPLAIN 名称与属性
结构化格式使用上述 Node …执行计划节点 · 扩展机制
custom_properties用于管理用户属性与自定义 claims 的 Supabase RLS 辅助表和函数。
Supabase RLS helper tables and functions for managing user properties and custom claims.
claims rls supabase
custom_properties
安全安全 · 扩展目录
custom_roles面向用户角色管理的 Supabase RLS 辅助表和函数。
Role-specific Supabase RLS tables and functions for managing user roles.
rls roles supabase
garyaustin-custom_roles
安全安全 · 扩展目录
custom_variable_classes设置已知自定义变量类别的列表。
Sets the list of known custom variable classes.
custom_variable_classes:设置已知自定义变量类别的列表。实测在档范围为 PG9.0–9.1;最后在档的 PG9.1 启动默认值为 not set,context 为 sighup。它在 PG9.2 被移除。
custom_vari…配置参数 · 自定义选项
cyanauditCyan审计核心扩展
Cyan Audit core extension
audit audit log audit logging audit trail auditing cyan audit cyanaudit dml log forensic logging forensics logger logging transaction history trigger-bas…安全 · 扩展目录
Cygwin17.7.1. Cygwin
可以使用 Cygwin 这个 Windows 上的类 Linux 环境来构建 PostgreSQL,但这种方式不如原生 Windows 构建,且如今已不再推荐在 Cygwin 下运行服务器。从源代码构建时,请按照 Unix 风格的安装过程(也就是 ./configure; make;等等)进行,但要注意下列 Cygwin 特有的差异:请把路径设置成…Cygwin
Daitch-Mokotoff SoundexF.16.2. Daitch-Mokotoff Soundex
与原始的 Soundex 系统一样,Daitch-Mokotoff Soundex 也是通过将发音相近的名字转换为相同代码来进行匹配。不过,与原始系统相比,Daitch-Mokotoff Soundex 对非英语名字要有用得多。相对于原始系统,主要改进包括:代码基于前六个有意义的字母,而不是前四个。 一个字母或字母…Daitch-Mokotoff Soundex
dammdamm:提供 Damm 校验位算法、damm_code 域和相关 SQL 辅助函数。
SQL implementation of the Damm check digit algorithm with a damm_code domain and helper functions.
check-digit damm-algorithm data-type
damm
数据类型数据类型 · 扩展目录
danish全文检索配置 danish。
配置
配置 danish
解析器 默认
initdb 生成的定义
/*
* text search configuration for danish language
*
* Copyright (c) 2007-2017, PostgreSQL Global Development Group
*
* src/backend/snow…全文检索组件 · 配置
danish_stem用于 danish 语言的 Snowball 词干提取器。
词典
语言 danish
ASCII 语言名称 danish
停用词 danish
停用词 SHA-256 1bedc9cf5a8830dacf8c4ee0d8b301f0801861756ad0d504431d01047f961b0c
停用词行数 94
词典 danish_stem
模板 snowball全文检索组件 · 词典
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开