PGXC_NODE_ENV视图提供获取集群中所有节点的环境变量信息。
表1 PGXC_NODE_ENV字段 名称 | 类型 | 描述 |
|---|
node_name | text | 集群中所有节点的名称。 |
host | text | 集群中所有节点的主机名称。 |
process | integer | 集群中所有节点的进程号。 |
port | integer | 集群中所有节点的端口号。 |
installpath | text | 集群中所有节点的安装目录。 |
datapath | text | 集群中所有节点的数据目录。 |
log_directory | text | 集群中所有节点的日志目录。 |