↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

data_directory

Specifies the directory to use for data storage. This parameter can only be set at server start.

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
Unknown
category
File Locations
context
postmaster
documented
true
enumvals
Unknown
extra desc
Unknown
lang
en
max val
Unknown
metadata version
18
min val
Unknown
name
data_directory
short desc
Sets the server's data directory.
source
pg-settings-source-snapshot
unit
Unknown
vartype
string

Definition PG 18

Specifies the directory to use for data storage. This parameter can only be set at server start.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:b3c91b26b2b9cd53bf326ba43190e0c3ff9d443a3e06b72b503ea4272bb0dc9b

Text language: en · wiki-repair-20261023:b3c91b26b2b9cd53bf326ba43190e0c3ff9d443a3e06b72b503ea4272bb0dc9b