タイプ: | 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.
On StackOverflow
- installing postgres via puppet with customer data_directory
- ERROR after change data_directory of PostgreSQL in ubuntu 16.04
- PostgreSQL 10 Use different directories for config_file and data_directory
- Change PostgreSQL data_directory on CentOS 7
- postgresql can not start after change the data_directory