pgpro_controldata

pgpro_controldata — display control information and compatibility information for a PostgreSQL/Postgres Pro database cluster

Synopsis

pgpro_controldata [option...]

Description

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.

Options

pgpro_controldata accepts the following command-line arguments. If no arguments are specified, pgpro_controldata just prints the control information like pg_controldata does.

General-Purpose

-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
--version

print the pgpro_controldata version, then exit

-?
--help

show help about pgpro_controldata command-line arguments, then exit

Compatibility-Related

-P
--cluster-compatibility-params

Display 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.

Environment

PGDATA

Default data directory location

See Also

pg_controldata