2 $PostgreSQL: pgsql/doc/src/sgml/ref/pg_controldata.sgml,v 1.7 2003/11/29 19:51:39 pgsql Exp $
3 PostgreSQL documentation
6 <refentry id="APP-PGCONTROLDATA">
8 <refentrytitle id="APP-PGCONTROLDATA-TITLE"><application>pg_controldata</application></refentrytitle>
9 <manvolnum>1</manvolnum>
10 <refmiscinfo>Application</refmiscinfo>
14 <refname>pg_controldata</refname>
15 <refpurpose>display control information of a <productname>PostgreSQL</productname> database cluster</refpurpose>
18 <indexterm zone="app-pgcontroldata">
19 <primary>pg_controldata</primary>
24 <command>pg_controldata</command>
25 <arg><replaceable class="parameter">datadir</replaceable></arg>
29 <refsect1 id="R1-APP-PGCONTROLDATA-1">
30 <title>Description</title>
32 <command>pg_controldata</command> prints information initialized during
33 <command>initdb</>, such as the catalog version and server locale.
34 It also shows information about write-ahead logging and checkpoint
35 processing. This information is cluster-wide, and not specific to any one
40 This utility may only be run by the user who initialized the cluster because
41 it requires read access to the data directory.
42 You can specify the data directory on the command line, or use
43 the environment variable <envar>PGDATA</>.
48 <title>Environment</title>
52 <term><envar>PGDATA</envar></term>
56 Default data directory location
65 <!-- Keep this comment at the end of the file
70 sgml-minimize-attributes:nil
71 sgml-always-quote-attributes:t
74 sgml-parent-document:nil
75 sgml-default-dtd-file:"../reference.ced"
77 sgml-local-catalogs:"/usr/lib/sgml/catalog"
78 sgml-local-ecat-files:nil