.\\" auto-generated by docbook2man-spec $Revision: 1.25 $ .TH "PG_CONTROLDATA" "1" "2002-11-22" "Application" "PostgreSQL Server Applications" .SH NAME pg_controldata \- display server-wide control information .SH SYNOPSIS .sp \fBpg_controldata\fR\fR [ \fR\fB\fIdatadir\fB \fR\fR]\fR .SH "DESCRIPTION" .PP \fBpg_controldata\fR returns information initialized during \fBinitdb\fR, such as the catalog version and server locale. It also shows information about write-ahead logging and checkpoint processing. This information is server-wide, and not specific to any one database. .PP This utility may only be run by the user who installed the server because it requires read access to the datadir. You can specify the data directory on the command line, or use the environment variable \fBPGDATA\fR. .SH "ENVIRONMENT" .TP \fBPGDATA\fR Default data directory location