<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/pg_controldata.sgml,v 1.10 2007/02/20 18:10:58 momjian Exp $
+doc/src/sgml/ref/pg_controldata.sgml
PostgreSQL documentation
-->
<refentry id="APP-PGCONTROLDATA">
<refmeta>
- <refentrytitle id="APP-PGCONTROLDATA-TITLE"><application>pg_controldata</application></refentrytitle>
+ <refentrytitle><application>pg_controldata</application></refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo>Application</refmiscinfo>
</refmeta>
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_controldata</command>
+ <arg><replaceable class="parameter">option</replaceable></arg>
<arg><replaceable class="parameter">datadir</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<title>Description</title>
<para>
<command>pg_controldata</command> prints information initialized during
- <command>initdb</>, such as the catalog version and server locale.
- It also shows information about write-ahead logging and checkpoint
+ <command>initdb</>, such as the catalog version.
+ It also shows information about write-ahead logging and checkpoint
processing. This information is cluster-wide, and not specific to any one
database.
</para>
<para>
This utility can only be run by the user who initialized the cluster because
it requires read access to the data directory.
- You can specify the data directory on the command line, or use
- the environment variable <envar>PGDATA</>.
+ You can specify the data directory on the command line, or use
+ the environment variable <envar>PGDATA</>. This utility supports the options
+ <literal>-V</> and <literal>--version</>, which print the
+ <application>pg_controldata</application> version and exit. It also
+ supports options <literal>-?</> and <literal>--help</>, which output the
+ supported arguments.
</para>
</refsect1>