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

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

PostgreSQL 文档检索

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

常用条目12356
stats_temp_directory配置参数本站词条设置旧统计收集器写临时统计文件的目录。 Writes temporary statistics files to the specified directory. stats_temp_directory:设置旧统计收集器写临时统计文件的目录。实测在档范围为 PG9.0–14;最后在档的 PG14 启动默认值为 pg_stat_tmp,context 为 sighup。它在 P…配置参数 · 运行时统计数据 / 查询和索引统计收集器 statsd扩展与模块扩展目录通过 UDP 向 StatsD 发送计数器、仪表与计时指标的 C 客户端函数。 C client functions for sending counters, gauges, and timings to StatsD over UDP. metrics network statsd udp pg-statsd 监控统计监控统计 · 扩展目录 statsmgr扩展与模块扩展目录在动态共享内存中快照 PostgreSQL WAL、SLRU、检查点、归档、I/O 与后台写进程累计统计信息的 C 扩展。 C extension that snapshots PostgreSQL cumulative WAL, SLRU, checkpoint, archiver, I/O, and background-writer statistics in dynam…监控统计 · 扩展目录 stddev函数与运算符本站词条这是stddev_samp的一个历史别名。 This is a historical alias for stddev_samp. stddev ( numeric_type ) → double precision for real or double precision, otherwise numeric 聚合函数函数 · 聚合函数 stddev_pop函数与运算符本站词条计算输入值的总体标准差。 Computes the population standard deviation of the input values. stddev_pop ( numeric_type ) → double precision for real or double precision, otherwise numeric 聚合函数函数 · 聚合函数 stddev_samp函数与运算符本站词条计算输入值的样本标准差。 Computes the sample standard deviation of the input values. stddev_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric 聚合函数函数 · 聚合函数 steampipe_postgres_aws扩展与模块扩展目录将实时 AWS API 映射为 PostgreSQL 外部表的 Steampipe AWS 原生 FDW。 Steampipe AWS native PostgreSQL FDW for querying live AWS APIs as foreign tables. aws cloud-api fdw steampipe zero-etl steampipe-plugin-…外部数据源 · 扩展目录 steampipe_postgres_fdw扩展与模块扩展目录零ETL外部数据包装器,将云服务和API调用映射到PostgreSQL外部表 Zero-ETL foreign data wrapper that maps PostgreSQL foreign tables to cloud-service and API calls. aws azure data devsecops gcp golang hacktoberfest kub…外部数据源 · 扩展目录 stewards_companion扩展与模块扩展目录为 pg_ai_stewards 提供提醒与工具管理的伴随扩展 Companion reminders and tool-management pack for pg_ai_stewards agents reminders tools pg-ai-stewards AI 与向量AI 与向量 · 扩展目录 stomata扩展与模块扩展目录为 PostgreSQL LIKE 与 ILIKE 模式匹配提供分段自动机索引 Segmented automaton index for PostgreSQL LIKE and ILIKE patterns pattern matching index automata stomata 全文检索全文检索 · 扩展目录 stopgap扩展与模块扩展目录基于 PLTS 管理 TypeScript/JavaScript 函数包版本、部署、激活与回滚的 pgrx 扩展。 pgrx deployment layer for versioned TypeScript/JavaScript function bundles backed by PLTS. deployment javascript pgrx typescript sto…过程语言 · 扩展目录 storage_engine扩展与模块扩展目录带向量化执行的 colcompress 与 rowcompress 表访问方法 colcompress and rowcompress Table Access Methods with vectorized execution storage_engine 分析与列存分析与列存 · 扩展目录 Stream Abort (logical replication)协议消息本站词条逻辑复制 Stream Abort 格式,表示流式事务中止消息。 逻辑复制格式 Stream Abort 层次 逻辑复制载荷,与前后端消息封装分开。 首个字段 Byte1('A') 协议上下文 本节说明各逻辑复制消息的详细格式。这些消息由复制槽 SQL 接口返回,或由 walsender 发送。由 walsender 发送时,它们被封装在复制协议的 WAL 消息中(参见第 5…协议消息 · 逻辑复制格式 Stream Commit (logical replication)协议消息本站词条逻辑复制 Stream Commit 格式,表示流式事务提交消息。 逻辑复制格式 Stream Commit 层次 逻辑复制载荷,与前后端消息封装分开。 首个字段 Byte1('c') 协议上下文 本节说明各逻辑复制消息的详细格式。这些消息由复制槽 SQL 接口返回,或由 walsender 发送。由 walsender 发送时,它们被封装在复制协议的 WAL 消息中(参见第…协议消息 · 逻辑复制格式 Stream Prepare (logical replication)协议消息本站词条逻辑复制 Stream Prepare 格式,表示流式事务预备消息。 逻辑复制格式 Stream Prepare 层次 逻辑复制载荷,与前后端消息封装分开。 首个字段 Byte1('p') 协议上下文 本节说明各逻辑复制消息的详细格式。这些消息由复制槽 SQL 接口返回,或由 walsender 发送。由 walsender 发送时,它们被封装在复制协议的 WAL 消息中(参…协议消息 · 逻辑复制格式 Stream Start (logical replication)协议消息本站词条逻辑复制 Stream Start 格式,表示流式传输开始消息。 逻辑复制格式 Stream Start 层次 逻辑复制载荷,与前后端消息封装分开。 首个字段 Byte1('S') 协议上下文 本节说明各逻辑复制消息的详细格式。这些消息由复制槽 SQL 接口返回,或由 walsender 发送。由 walsender 发送时,它们被封装在复制协议的 WAL 消息中(参见第 5…协议消息 · 逻辑复制格式 Stream Stop (logical replication)协议消息本站词条逻辑复制 Stream Stop 格式,表示流式传输结束消息。 逻辑复制格式 Stream Stop 层次 逻辑复制载荷,与前后端消息封装分开。 首个字段 Byte1('E') 协议上下文 本节说明各逻辑复制消息的详细格式。这些消息由复制槽 SQL 接口返回,或由 walsender 发送。由 walsender 发送时,它们被封装在复制协议的 WAL 消息中(参见第 53.…协议消息 · 逻辑复制格式 streaming_lag扩展与模块扩展目录用于测量时间延迟的自定义后台工作进程 A custom background worker process to measure lag in units of time bgw custom background worker lag replication streaming streaming_lag 监控统计监控统计 · 扩展目录 streaminglag扩展与模块扩展目录将 WAL LSN 转为整数并估算主库到备库流复制字节延迟的 SQL 辅助函数。 SQL helpers that convert WAL LSNs to integers and estimate primary-to-standby streaming replication lag in bytes. lag lsn monitoring replication wal …监控统计 · 扩展目录 streamvis_udfs扩展与模块扩展目录自托管数据日志记录与可视化客户端和服务器 A logging client and server for self-hosted data logging and visualization interactive-visualizations machine-learning streamvis_udfs 监控统计监控统计 · 扩展目录 strict_word_similarity函数与运算符PG18strict_word_similarity ( text, text ) → real 与 word_similarity 相同,但会强制区段边界与词边界一致。由于不存在跨词的三字符组,这个函数实际上返回的是第一个字符串与第二个字符串中任意连续词区段之间的最大相似度。pg_trgm — 基于三字符组匹配的文本相似度支持 › 函数和操作符 string_agg函数与运算符本站词条将非 NULL 输入值连接成一个字符串。 Concatenates the non-null input values into a string. string_agg ( value text, delimiter text ) → text string_agg ( value bytea, delimiter bytea ORDER BY input_sort_colu…函数 · 聚合函数 string_to_array函数与运算符本站词条将string按delimiter分割,并将结果字段形成text数组。 Splits the string at occurrences of delimiter and forms the resulting fields into a text array. string_to_array ( string text, delimiter text [, null_stri…函数 · 字符串函数和操作符 string_to_table函数与运算符本站词条在出现delimiter 时拆分string,并将结果字段作为text行的集合返回。 Splits the string at occurrences of delimiter and returns the resulting fields as a set of text rows. string_to_table ( string text, delimiter text…函数 · 字符串函数和操作符 stringtheory扩展与模块扩展目录为 PostgreSQL 文本值提供 SIMD 优化精确相等与子串搜索函数的 C++ 扩展。 C++ extension providing SIMD-optimized exact equality and substring-search functions for PostgreSQL text values. simd string-comparison substri…函数与聚合 · 扩展目录 strip函数与运算符本站词条从tsvector中移除位置和权重。 Removes positions and weights from the tsvector. strip ( tsvector ) → tsvector 文本检索函数和操作符函数 · 文本检索函数和操作符 stripe扩展与模块扩展目录由 Stainless 生成、用于从 PostgreSQL 调用 Stripe REST API 的实验性 SQL/PLPython SDK。 Experimental generated SQL/PLPython SDK for calling the Stripe REST API from PostgreSQL. api http payments rest stripe…实用工具 · 扩展目录 strpos函数与运算符本站词条返回substring在string中首次出现的位置;如果不存在则返回零。 Returns first starting index of the specified substring within string, or zero if it's not present. strpos ( string text, substring text ) → integer 字符串…函数 · 字符串函数和操作符 struct sqlname 结构体章节正文PG1834.7.2.1.3. struct sqlname 结构体一个 struct sqlname 结构体保存一个列名。它用作 sqlvar_t 结构体的成员。该结构体的定义如下:define NAMEDATALEN 64 struct sqlname { short length; char data[NAMEDATALEN]; }; 各字段的含义如下:length # 包含字段…struct sqlname 结构体 student扩展与模块扩展目录学习如何在PostgreSQL中添加类型 Let's learn how to add types in PostgreSQL 👨🏻‍💻 c-language makefile postgresql postgresql-extension student 数据类型数据类型 · 扩展目录 subarray函数与运算符PG18subarray ( integer[], start integer, len integer ) → integer[] 提取数组中从位置 start 开始、长度为 len 个元素的部分。 subarray('{1,2,3,2,1}'::integer[], 2, 3) → {2,3,2}intarray — 操作整数数组 › intarray 函数和操作符 subltree函数与运算符PG18subltree ( ltree, start integer, end integer ) → ltree 返回 ltree 中从位置 start 到位置 end-1 的子路径(从 0 开始计数)。 subltree('Top.Child1.Child2', 1, 2) → Child1ltree — 层次树状数据类型 › 操作符和函数 subpath函数与运算符PG18subpath ( ltree, offset integer, len integer ) → ltree 返回从位置 offset 开始、长度为 len 的 ltree 子路径。如果 offset 为负,则子路径从距路径末尾 -offset 个标签处开始。如果 len 为负,则从路径末尾省去那么多个标签。 subpath('Top.Child1.Child2', 0, 2)…ltree — 层次树状数据类型 › 操作符和函数 Subquery Scan执行计划节点本站词条扫描子查询计划的输出。 SubqueryScan 扫描 核心节点标签 T_SubqueryScan 结构化 EXPLAIN 节点类型 Subquery Scan 输入 子查询的子计划 输出 子查询结果元组 执行器初始化函数 ExecInitSubqueryScan 内存机制 unclassified EXPLAIN 名称与属性 结构化格式使用上述 Node Type。文本格式…执行计划节点 · 扫描 substr函数与运算符本站词条提取string中从第start个字符开始的子字符串;若指定了长度,则提取count个字符。 Extracts the substring of string starting at the start'th character, and extending for count characters if that is specified. substr ( string t…函数 · 字符串函数和操作符 substring函数与运算符本站词条提取string的子字符串:若指定了起始位置,则从第start个字符开始;若指定了长度,则在提取count个字符后停止。 Extracts the substring of string starting at the start'th character if that is specified, and stopping after count characters if …函数 · 字符串函数和操作符 subtransaction_buffers配置参数本站词条设置子事务状态缓存专用缓冲池的大小。 Sets the size of the dedicated buffer pool used for the subtransaction cache. subtransaction_buffers:设置子事务状态缓存专用缓冲池的大小。实测在档范围为 PG17–19 Beta 4;最后在档的 PG19 Beta 4 启动默认值为 0 B …配置参数 · 资源消耗 / 内存 SubtransBuffer等待事件本站词条在子事务SLRU缓冲区上等待I/O。 Waiting for I/O on a sub-transaction SLRU buffer. `pgstat_report_wait_start` 位于 `src/backend/storage/lmgr/lwlock.c:739`,是经 grep 核验的报告路径。公共身份/资源映射位于 `src/backend/storage/lm…轻量级锁 · 等待事件 SubtransSLRU等待事件本站词条等待访问子事务SLRU缓存。 Waiting to access the sub-transaction SLRU cache. `pgstat_report_wait_start` 位于 `src/backend/storage/lmgr/lwlock.c:739`,是经 grep 核验的报告路径。公共身份/资源映射位于 `src/backend/storage/lmgr/l…轻量级锁 · 等待事件 sum函数与运算符本站词条计算非空输入值的总和。 Computes the sum of the non-null input values. sum ( smallint ) → bigint sum ( integer ) → bigint sum ( bigint ) → numeric sum ( numeric ) → numeric sum ( real ) → real sum ( dou…函数 · 聚合函数
更多结果

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

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