PostgreSQL 文档检索
PG 18 · 按类别浏览,或输入名称与关键词
常用条目12353
redis_backed_storage一个实验性的 PostgreSQL 表访问方法扩展,使用 Redis 作为后端存储。
Experimental PostgreSQL table access method backed by Redis storage.
pgrx redis table-access-method
redis_backed_storage
功能特性功能特性 · 扩展目录
redis_cluster_fdw访问 Redis 集群数据的外部数据包装器
Foreign data wrapper for clustered Redis data
redis_cluster_fdw
外部数据源外部数据源 · 扩展目录
redis_fdw查询外部Redis数据源
Foreign data wrapper for querying a Redis server
redis_fdw
外部数据源外部数据源 · 扩展目录
redis_fdw_rs让 PostgreSQL 可以像查询和操作普通表一样直接查询与操作 Redis 数据。
This extension allows PostgreSQL to directly query and manipulate Redis data as if it were regular PostgreSQL tables.
fdw pgrx redis
redis_fdw_rs
…外部数据源 · 扩展目录
redis_link面向 Redis 字符串、哈希和集合的 PostgreSQL 读写外部数据包装器,提供基础 Redis Cluster 支持
Read-write PostgreSQL foreign data wrapper for Redis strings, hashes, and sets, with basic Redis Cluster support
cluster fdw hi…外部数据源 · 扩展目录
refcursor游标引用(入口名称)
其他内置类型
refcursor
目录名称 pg_catalog.refcursor
类型 OID 1790
类型种类 基础类型
声明长度 变长(varlena)
存储策略 extended
输入函数 textin
输出函数 textout
存储策略 扩展数据类型 · 其他内置类型
refdata面向高频读取、低频变更参考数据的 EDB 表访问方法。
EDB table access method for frequently read, rarely changed reference data.
table-am reference-data storage readonly
advanced_storage_pack
分析与列存分析与列存 · 扩展目录
referential_constraints35.34. referential_constraints
视图 referential_constraints 包含当前数据库中的所有引用(外键)约束。只显示当前用户对引用方的表具有写入权限的约束(作为表的拥有者,或具有 SELECT 之外的某种权限)。表 35.32. referential_constraints 列 列类型 描述 constraint_catalog …referential_constraints
refint实现引用完整性的函数
functions for implementing referential integrity (obsolete)
refint
函数与聚合函数与聚合 · 扩展目录
refint — 用于实现引用完整性的函数F.41.1. refint — 用于实现引用完整性的函数
check_primary_key() 和 check_foreign_key() 用于检查外键约束。(当然,这项功能早已被内置外键机制取代,不过该模块作为示例仍然很有用。该模块将在 PostgreSQL 20 中移除。)注意 refint 要求使用模式的安全使用方式,并要求数据类型的等值操作符名为 =。check_p…refint — 用于实现引用完整性的函数
REFRESH MATERIALIZED VIEW替换物化视图的内容
REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] name
[ WITH [ NO ] DATA ]
表与视图SQL 命令 · 表与视图
REFRESH MATERIALIZED VIEWREFRESH MATERIALIZED VIEW REFRESH MATERIALIZED VIEW — 替换物化视图的内容大纲 REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] name [ WITH [ NO ] DATA ]REFRESH MATERIALIZED VIEW
regclass通过关系名称输入和显示 pg_class 中对象的 OID。
关系名称别名
对象名称别名
关系名称。
引用目录 pg_class
表示对象 关系名称
输入值示例 pg_type
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_with_oids,否则不会向用户创建的表…对象标识符类型 · 对象名称别名
regcollation通过排序规则名称输入和显示 pg_collation 中对象的 OID。
排序规则名称别名
对象名称别名
排序规则名称。
引用目录 pg_collation
表示对象 排序规则名称
输入值示例 "POSIX"
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。类型 oid 表示一个对象标识符。此外还有若干 oid 的别名类型,其名称均形…对象标识符类型 · 对象名称别名
regconfig通过文本检索配置名称输入和显示 pg_ts_config 中对象的 OID。
文本检索配置别名
对象名称别名
文本检索配置。
引用目录 pg_ts_config
表示对象 文本检索配置
输入值示例 english
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_wit…对象标识符类型 · 对象名称别名
regdatabase通过数据库名称输入和显示 pg_database 中对象的 OID。
数据库名称别名
对象名称别名
数据库名称。
引用目录 pg_database
表示对象 数据库名称
输入值示例 template1
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。类型 oid 表示一个对象标识符。此外还有若干 oid 的别名类型,其名称均形如 re…对象标识符类型 · 对象名称别名
regdictionary通过文本检索词典名称输入和显示 pg_ts_dict 中对象的 OID。
文本检索词典别名
对象名称别名
文本检索词典。
引用目录 pg_ts_dict
表示对象 文本检索词典
输入值示例 simple
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_with_oid…对象标识符类型 · 对象名称别名
regexp_count返回 POSIX 正则表达式pattern在string中匹配的次数;参见第 9.7.3.1.2 节。
Returns the number of times the POSIX regular expression pattern matches in the string; see Section 9.7.3.1.2.
regexp_count ( string text,…函数 · 字符串函数和操作符
regexp_instr返回 POSIX 正则表达式pattern在string中第N次匹配的位置;如果没有这样的匹配,则返回零。
Returns the position within string where the N'th match of the POSIX regular expression pattern occurs, or zero if there is no such matc…函数 · 字符串函数和操作符
regexp_like检查 POSIX 正则表达式pattern是否在string中出现;参见第 9.7.3.1.4 节。
Checks whether a match of the POSIX regular expression pattern occurs within string; see Section 9.7.3.1.4.
regexp_like ( string text, patt…函数 · 字符串函数和操作符
regexp_match返回 POSIX 正则表达式pattern与string的第一次匹配中的子字符串;参见第 9.7.3.1.5 节。
Returns substrings within the first match of the POSIX regular expression pattern to the string; see Section 9.7.3.1.5.
regexp_match…函数 · 字符串函数和操作符
regexp_matches返回 POSIX 正则表达式pattern与string的第一次匹配中的子字符串;如果使用g标志,则返回所有匹配中的子字符串。
Returns substrings within the first match of the POSIX regular expression pattern to the string, or substrings within all such…函数 · 字符串函数和操作符
regexp_replace替换第一个与 POSIX 正则表达式pattern匹配的子字符串,如果使用了g标志,则替换所有这样的匹配;参见第 9.7.3.1.7 节。
Replaces the substring that is the first match to the POSIX regular expression pattern, or all such matches if the g fla…函数 · 字符串函数和操作符
regexp_split_to_array使用POSIX正则表达式作为分隔符拆分string,生成一个结果的数组;参见第 9.7.3.1.9 节。
Splits string using a POSIX regular expression as the delimiter, producing an array of results; see Section 9.7.3.1.9.
regexp_split_to_ar…函数 · 字符串函数和操作符
regexp_split_to_table使用POSIX正则表达式作为分隔符拆分string,生成一组结果;参见第 9.7.3.1.8 节。
Splits string using a POSIX regular expression as the delimiter, producing a set of results; see Section 9.7.3.1.8.
regexp_split_to_table ( …函数 · 字符串函数和操作符
regexp_substr返回string中 POSIX 正则表达式pattern的第N次匹配对应的子字符串;如果没有这样的匹配,则返回NULL。
Returns the substring within string that matches the N'th occurrence of the POSIX regular expression pattern, or NULL if there is…函数 · 字符串函数和操作符
RegisterSyncRequest向检查点进程发送同步请求时,因请求队列已满而等待。
Waiting while sending synchronization requests to the checkpointer, because the request queue is full.
`WAIT_EVENT_REGISTER_SYNC_REQUEST` 位于 `src/backend/storage/sy…超时 · 等待事件
regnamespace通过模式名称输入和显示 pg_namespace 中对象的 OID。
命名空间名称别名
对象名称别名
命名空间名称。
引用目录 pg_namespace
表示对象 命名空间名称
输入值示例 pg_catalog
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_with…对象标识符类型 · 对象名称别名
regoper通过无歧义的操作符名称输入和显示 OID,不带参数类型。
操作符名称别名
对象名称别名
操作符名称。
引用目录 pg_operator
表示对象 操作符名称
输入值示例 +
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_with_oids,否则不会向用户创建的表添加…对象标识符类型 · 对象名称别名
regoperator通过操作符名称和参数类型输入和显示 OID,可以区分重载。
操作符签名别名
对象名称别名
带参数类型的操作符。
引用目录 pg_operator
表示对象 带参数类型的操作符
输入值示例 *(integer,integer) 或 -(NONE,integer)
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH …对象标识符类型 · 对象名称别名
regproc通过无歧义的函数名称输入和显示 OID,不带参数类型。
函数名称别名
对象名称别名
函数名称。
引用目录 pg_proc
表示对象 函数名称
输入值示例 sum
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_with_oids,否则不会向用户创建的表添加 OID。类…对象标识符类型 · 对象名称别名
regprocedure通过函数名称和参数类型输入和显示 OID,可以区分重载。
函数签名别名
对象名称别名
带参数类型的函数。
引用目录 pg_proc
表示对象 带参数类型的函数
输入值示例 sum(int4)
存储与取值范围
对象标识符(OID)在 PostgreSQL 内部被用作若干系统表的主键。除非建表时指定 WITH OIDS,或启用配置变量 default_with_oids,否则不会…对象标识符类型 · 对象名称别名
regr_avgx计算自变量的平均值,即sum(X)/N。
Computes the average of the independent variable, sum(X)/N.
regr_avgx ( Y double precision, X double precision ) → double precision
聚合函数函数 · 聚合函数
regr_avgy计算因变量的平均值,即sum(Y)/N。
Computes the average of the dependent variable, sum(Y)/N.
regr_avgy ( Y double precision, X double precision ) → double precision
聚合函数函数 · 聚合函数
regr_count计算两个输入都非空的行数。
Computes the number of rows in which both inputs are non-null.
regr_count ( Y double precision, X double precision ) → bigint
聚合函数函数 · 聚合函数
regr_intercept计算由(X,Y)数值对确定的最小二乘拟合线性方程的 y 轴截距。
Computes the y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.
regr_intercept ( Y double precision, X double precision ) →…函数 · 聚合函数
regr_r2计算相关系数的平方。
Computes the square of the correlation coefficient.
regr_r2 ( Y double precision, X double precision ) → double precision
聚合函数函数 · 聚合函数
regr_slope计算由(X,Y)数值对确定的最小二乘拟合线性方程的斜率。
Computes the slope of the least-squares-fit linear equation determined by the (X, Y) pairs.
regr_slope ( Y double precision, X double precision ) → double precis…函数 · 聚合函数
regr_sxx计算自变量的“平方和”,即sum(X^2) - sum(X)^2/N。
Computes the “sum of squares” of the independent variable, sum(X^2) - sum(X)^2/N.
regr_sxx ( Y double precision, X double precision ) → double precision
聚…函数 · 聚合函数
regr_sxy计算自变量与因变量的“乘积和”,即sum(X*Y) - sum(X) * sum(Y)/N。
Computes the “sum of products” of independent times dependent variables, sum(X*Y) - sum(X) * sum(Y)/N.
regr_sxy ( Y double precision, X double …函数 · 聚合函数
更多结果
输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。
pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开