Wiki / Configuration Parameters
data_directory_mode
On Unix systems this parameter reports the permissions the data directory (defined by data_directory) had at server startup. (On Microsoft Windows this parameter will always display 0700.) See the initdb -g option for more information.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- boot val
- 448
- category
- Preset Options
- context
- internal
- documented
- true
- enumvals
- Unknown
- extra desc
- The parameter value is a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)
- lang
- en
- max val
- 511
- metadata version
- 18
- min val
- 0
- name
- data_directory_mode
- short desc
- Shows the mode of the data directory.
- source
- pg-settings-source-snapshot
- unit
- Unknown
- vartype
- integer
Definition PG 18
On Unix systems this parameter reports the permissions the data directory (defined by data_directory) had at server startup. (On Microsoft Windows this parameter will always display 0700.) See the initdb -g option for more information.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:aafdcbaefa273ced7e2e024c5e257c06514d2a9084ad3d8c9a6a3289e7799031
Text language: en · wiki-repair-20261023:aafdcbaefa273ced7e2e024c5e257c06514d2a9084ad3d8c9a6a3289e7799031