data_directory

类型: string
上下文: postmaster
重新开始: true

指定用于数据存储的目录。这个选项只能在服务器启动时设置。

建议 [EN]

Supports the ability to distribute files according to sysadmin or operating system defined schemes, or for launching multiple restart instances using the same binaries. Most of the time, it's better to use configuration options to define these locations so that all PostgreSQL binaries default to the correct paths.

条评论