]> begriffs open source - ai-pg/blob - full-docs/txt/app-pgcontroldata.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / app-pgcontroldata.txt
1
2 pg_controldata
3
4    pg_controldata — display control information of a PostgreSQL database
5    cluster
6
7 Synopsis
8
9    pg_controldata [option] [[ -D | --pgdata ]datadir]
10
11 Description
12
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
25 Environment
26
27    PGDATA
28           Default data directory location
29
30    PG_COLOR
31           Specifies whether to use color in diagnostic messages. Possible
32           values are always, auto and never.