pgpro_controldata — display control information and compatibility information for a PostgreSQL/Postgres Pro database cluster
pgpro_controldata [option...]
pgpro_controldata prints control information, such as
the catalog version, initialized by initdb command of any
PostgreSQL/Postgres Pro
server. It also shows information about write-ahead logging and checkpoint
processing. This information is cluster-wide and not specific to any
database.
pgpro_controldata also helps to check compatibility
between PostgreSQL/Postgres Pro
database servers and clusters. It can print cluster parameters that
can affect the compatibility.
pgpro_controldata accepts the following command-line
arguments. If no arguments are specified,
pgpro_controldata just prints the control information
like pg_controldata does.
-D datadir--pgdata=datadir
Specifies the file system location of the database configuration files. If
this option is omitted, the environment variable PGDATA is used.
-V--versionprint the pgpro_controldata version, then exit
-?--helpshow help about pgpro_controldata command-line arguments, then exit
-P--cluster-compatibility-paramsDisplay all parameters of the specified cluster that can affect compatibility.
Use the -D option or the environment variable
PGDATA to provide the path to the data directory,
where read access is required.
The cluster data and server must have the same byte order and architecture type for this option to work correctly.
PGDATADefault data directory location