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

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

百科 / 存储结构 / PGDATA 路径

postmaster.pid

postmaster.pid 记录当前 postmaster 进程 ID(PID)、集簇数据目录路径、postmaster 启动时间戳、端口号、Unix 域套接字目录路径(可能为空)、第一个有效的 listen_address(IP 地址或 * ,若未监听 TCP 则为空),以及共享内存段 ID 的锁文件(服务器关闭后该文件不存在)

当前查看 PostgreSQL 18。

中文定义与说明

存储结构 $PGDATA/postmaster.pid。

同版本中文手册定义

postmaster.pid记录当前 postmaster 进程 ID(PID)、集簇数据目录路径、postmaster 启动时间戳、端口号、Unix 域套接字目录路径(可能为空)、第一个有效的 listen_address(IP 地址或 *,若未监听 TCP 则为空),以及共享内存段 ID 的锁文件(服务器关闭后该文件不存在)

查看完整中文手册与上下文。

说明

postmaster.pid 记录当前 postmaster 进程 ID(PID)、集簇数据目录路径、postmaster 启动时间戳、端口号、Unix 域套接字目录路径(可能为空)、第一个有效的 listen_address(IP 地址或 * ,若未监听 TCP 则为空),以及共享内存段 ID 的锁文件(服务器关闭后该文件不存在)

相对路径
postmaster.pid

用法

$PGDATA/postmaster.pid

相关条目

文档与源码

来源构建
版本
18.6
构建
https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2
来源指纹
555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

版本比较

PostgreSQL 12 → 13: 属性变化。

以下差异保留原始字段名与英文源描述。

--- PostgreSQL 12
+++ PostgreSQL 13
@@ -1,4 +1,4 @@
 {
-  "definition": "A lock file recording the current postmaster process ID (PID), cluster data directory path, postmaster start timestamp, port number, Unix-domain socket directory path (empty on Windows), first valid listen_address (IP address or * , or empty if not listening on TCP), and shared memory segment ID (this file is not present after server shutdown)",
+  "definition": "A lock file recording the current postmaster process ID (PID), cluster data directory path, postmaster start timestamp, port number, Unix-domain socket directory path (could be empty), first valid listen_address (IP address or * , or empty if not listening on TCP), and shared memory segment ID (this file is not present after server shutdown)",
   "path": "postmaster.pid"
 }

比较已记录的接口与属性,排除来源指纹和构建元数据。某个样本中没有记录,不能据此判断实际引入或移除的版本。

相关条目

导出 JSON · 返回存储结构 · 收录范围为 PostgreSQL 10 至 20;最早采样版本不一定是实际引入版本。