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

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

PostgreSQL 文档检索

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

常用条目12316
pg_cron_helper扩展与模块扩展目录辅助pg_cron功能的扩展 Extension to help functionality of pg_cron pg_cron_helper 时序与时态时序与时态 · 扩展目录 pg_cron_preload扩展与模块扩展目录PolarDB 的 cron 目录与任务缓存失效组件 PolarDB cron catalog and job-cache invalidation component pg_cron_preload 管理运维管理运维 · 扩展目录 pg_cryogen扩展与模块扩展目录面向 PostgreSQL 12 及更高版本的实验性只追加压缩表访问方法。 Experimental append-only compressed table access method for PostgreSQL 12 and later. append-only compression table-access-method pg_cryogen 分析与列存分析与列存 · 扩展目录 pg_crypto扩展与模块扩展目录提供 pgcrypto 兼容接口及现代密码原语的 Rust 加密扩展 Rust cryptography with pgcrypto-compatible and modern primitives cryptography hashing encryption pg_crypto 安全安全 · 扩展目录 pg_cryptocurrency扩展与模块扩展目录区块链资产、金额、地址与 uint256 原生类型 Native blockchain asset, amount, address, and uint256 types blockchain asset exact-arithmetic pg_cryptocurrency 数据类型数据类型 · 扩展目录 pg_csv扩展与模块扩展目录灵活的CSV聚合处理函数 Flexible CSV processing for Postgres pg_csv 函数与聚合函数与聚合 · 扩展目录 pg_ctblmgr扩展与模块扩展目录基于逻辑复制的异步预计算视图 Logical Replication Based, Asynchronous Eager Materialized Views for PostgreSQL pg_ctblmgr 功能特性功能特性 · 扩展目录 pg_ctl命令行工具本站词条pg_ctl — 初始化、启动、停止或控制 PostgreSQL 服务器 服务端程序 pg_ctl init[db] [ -D datadir ] [ -s ] [ -o initdb-options ] pg_ctl start [ -D datadir ] [ -l filename ] [ -W ] [ -t seconds ] [ -s ] [ -o options …命令行工具 · 服务端程序 pg_ctl章节正文PG18pg_ctl pg_ctl — 初始化、启动、停止或控制 PostgreSQL 服务器大纲 pg_ctl init[db] [-D datadir] [-s] [-o initdb-options] pg_ctl start [-D datadir] [-l filename] [-W] [-t seconds] [-s] [-o options] [-p path] [-c]…pg_ctl pg_ctl --core-files命令行工具PG18-c--core-files 在支持的平台上,通过解除对核心转储文件施加的任何软资源限制,尝试允许服务器在崩溃时生成核心转储文件。这样就可以从失败的服务器进程中获得栈跟踪,从而有助于调试或诊断问题。pg_ctl › 选项 pg_ctl --help命令行工具PG18-?--help 显示有关 pg_ctl 命令行参数的帮助并退出。pg_ctl › 选项 pg_ctl --log=filename命令行工具PG18-l filename--log=filename 将服务器日志输出追加到 filename。如果该文件不存在,就会创建它。默认情况下,只有集簇拥有者可以访问该日志文件。如果在集簇中启用了组访问权限,与集簇拥有者同组的用户也可以读取它。pg_ctl › 选项 pg_ctl --mode=mode命令行工具PG18-m mode--mode=mode 指定关闭模式。mode 可以是 smart、fast 或 immediate,也可以是这三者之一的首字母。若省略此选项,则默认值为 fast。pg_ctl › 选项 pg_ctl --no-wait命令行工具PG18-W--no-wait 不等待操作完成。这与选项 -w 相反。 如果禁用了等待,将触发所请求的操作,但不会反馈其是否成功。在这种情况下,需要借助服务器日志文件或外部监控系统来检查该操作的进展及成败。 在 PostgreSQL 先前的发行版中,除了 stop 模式之外,这曾是默认行为。pg_ctl › 选项 pg_ctl --options=initdb-options命令行工具PG18-o initdb-options--options=initdb-options 指定要直接传递给 initdb 命令的选项。-o 可以指定多次,给出的所有选项都会被传递过去。 通常应将 initdb-options 放在单引号或双引号中,以确保它们作为一个整体被传递。pg_ctl › 选项 pg_ctl --options=options命令行工具PG18-o options--options=options 指定要直接传递给 postgres 命令的选项。-o 可以指定多次,给出的所有选项都会被传递过去。 通常应将 options 放在单引号或双引号中,以确保它们作为一个整体被传递。pg_ctl › 选项 pg_ctl --pgdata=datadir命令行工具PG18-D datadir--pgdata=datadir 指定数据库配置文件所在的文件系统位置。若省略此选项,则使用环境变量 PGDATA。pg_ctl › 选项 pg_ctl --silent命令行工具PG18-s--silent 只打印错误,不打印信息性消息。pg_ctl › 选项 pg_ctl --timeout=seconds命令行工具PG18-t seconds--timeout=seconds 指定等待某个操作完成时最多等待多少秒(见选项 -w)。默认值为环境变量 PGCTLTIMEOUT 的值;如果未设置该环境变量,则默认为 60 秒。pg_ctl › 选项 pg_ctl --version命令行工具PG18-V--version 打印 pg_ctl 的版本并退出。pg_ctl › 选项 pg_ctl --wait命令行工具PG18-w--wait 等待操作完成。start、stop、restart、promote 和 register 模式支持此选项,而且对这些模式来说它是默认行为。 在等待期间,pg_ctl 会反复检查服务器的 PID 文件,并在两次检查之间短暂休眠。当 PID 文件表明服务器已准备好接受连接时,启动就被视为完成。当服务器移除 PID 文件时,关闭就被视为完成。pg_ctl 会根据启动…pg_ctl › 选项 pg_ctl -e source命令行工具PG18-e source 指定以 Windows 服务方式运行时,pg_ctl 写入事件日志所使用的事件源名称。默认值为 PostgreSQL。注意,这只控制由 pg_ctl 本身发送的消息;服务器一旦启动,就会使用其 event_source 参数指定的事件源。如果服务器在启动的很早阶段、该参数尚未设置之前就失败,它也可能使用默认事件源名称 PostgreSQL 记录日志。pg_ctl › 选项 › 用于 Windows 的选项 pg_ctl -N servicename命令行工具PG18-N servicename 要注册的系统服务名称。该名称会同时用作服务名和显示名。默认值为 PostgreSQL。pg_ctl › 选项 › 用于 Windows 的选项 pg_ctl -P password命令行工具PG18-P password 用于运行该服务的用户密码。pg_ctl › 选项 › 用于 Windows 的选项 pg_ctl -p path命令行工具PG18-p path 指定 postgres 可执行程序的位置。默认情况下,postgres 可执行程序取自与 pg_ctl 相同的目录;如果那里没有,则取自硬编码的安装目录。除非采用了某些非常规方式,并收到找不到 postgres 可执行程序的错误,否则通常不需要使用此选项。 在 init 模式中,此选项同样指定 initdb 可执行程序的位置。pg_ctl › 选项 pg_ctl -S start-type命令行工具PG18-S start-type 系统服务的启动类型。start-type 可以是 auto、demand,或者两者之一的首字母。若省略此选项,则默认值为 auto。pg_ctl › 选项 › 用于 Windows 的选项 pg_ctl -U username命令行工具PG18-U username 用于运行该服务的用户名。对于域用户,请使用 DOMAIN\username 格式。pg_ctl › 选项 › 用于 Windows 的选项 pg_curl扩展与模块扩展目录封装CURL,执行各种用URL传输数据的操作 Run curl actions for data transfer in URL syntax pg_curl 实用工具实用工具 · 扩展目录 pg_currency扩展与模块扩展目录币种目录与按日期记录的基准汇率。 Currency catalogs and dated base-relative exchange rates. pgrx proof-of-concept pg_extensions 函数与聚合函数与聚合 · 扩展目录 pg_current_logfile函数与运算符本站词条返回当前由日志收集器使用的日志文件的路径名。 Returns the path name of the log file currently in use by the logging collector. pg_current_logfile ( [text] ) → text 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_current_snapshot函数与运算符本站词条返回当前快照,即显示哪些事务 ID 正在进行中的数据结构。 Returns a current snapshot, a data structure showing which transaction IDs are now in-progress. pg_current_snapshot () → pg_snapshot 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_current_wal_flush_lsn函数与运算符本站词条返回当前预写式日志刷盘位置(参见下文说明)。 Returns the current write-ahead log flush location (see notes below). pg_current_wal_flush_lsn () → pg_lsn 系统管理函数函数 · 系统管理函数 pg_current_wal_insert_lsn函数与运算符本站词条返回当前预写式日志插入位置(参见下文说明)。 Returns the current write-ahead log insert location (see notes below). pg_current_wal_insert_lsn () → pg_lsn 系统管理函数函数 · 系统管理函数 pg_current_wal_lsn函数与运算符本站词条返回当前预写式日志写入位置(参见下文说明)。 Returns the current write-ahead log write location (see notes below). pg_current_wal_lsn () → pg_lsn 系统管理函数函数 · 系统管理函数 pg_current_xact_id函数与运算符本站词条返回当前事务的ID。 Returns the current transaction's ID. pg_current_xact_id () → xid8 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_current_xact_id_if_assigned函数与运算符本站词条返回当前事务的 ID;如果尚未分配 ID,则返回NULL。 Returns the current transaction's ID, or NULL if no ID is assigned yet. pg_current_xact_id_if_assigned () → xid8 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_current_xlog_flush_location函数与运算符本站词条获取当前预写式日志刷盘位置 Get current transaction log flush location pg_current_xlog_flush_location ( ) → pg_lsn 系统管理函数函数 · 系统管理函数 pg_current_xlog_insert_location函数与运算符本站词条获取当前预写式日志插入位置 Get current transaction log insert location pg_current_xlog_insert_location ( ) → pg_lsn 系统管理函数函数 · 系统管理函数 pg_current_xlog_location函数与运算符本站词条获取当前预写式日志写入位置 Get current transaction log write location pg_current_xlog_location ( ) → pg_lsn 系统管理函数函数 · 系统管理函数 pg_cursors系统目录与视图本站词条打开的游标 The pg_cursors view lists the cursors that are currently available. Cursors can be defined in several ways: pg_cursors视图列出当前可用的游标。游标可以通过多种方式定义: pg_cursors视图显示通过任何这些方式创建的游标。游标仅在定义它们的事务的…系统视图 · 系统目录
更多结果

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

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