1PG_CONTROLDATA(1) PostgreSQL 11.3 Documentation PG_CONTROLDATA(1)
2
3
4
6 pg_controldata - display control information of a PostgreSQL database
7 cluster
8
10 pg_controldata [option] [[--pgdata | -D] datadir]
11
13 pg_controldata prints information initialized during initdb, such as
14 the catalog version. It also shows information about write-ahead
15 logging and checkpoint processing. This information is cluster-wide,
16 and not specific to any one database.
17
18 This utility can only be run by the user who initialized the cluster
19 because it requires read access to the data directory. You can specify
20 the data directory on the command line, or use the environment variable
21 PGDATA. This utility supports the options -V and --version, which print
22 the pg_controldata version and exit. It also supports options -? and
23 --help, which output the supported arguments.
24
26 PGDATA
27 Default data directory location
28
29
30
31PostgreSQL 11.3 2019 PG_CONTROLDATA(1)