2002-08-16 22:34:06 +02:00
|
|
|
<!--
|
2003-11-29 20:52:15 +01:00
|
|
|
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_controldata.sgml,v 1.7 2003/11/29 19:51:39 pgsql Exp $
|
2002-08-16 22:34:06 +02:00
|
|
|
PostgreSQL documentation
|
|
|
|
-->
|
|
|
|
|
|
|
|
<refentry id="APP-PGCONTROLDATA">
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle id="APP-PGCONTROLDATA-TITLE"><application>pg_controldata</application></refentrytitle>
|
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
<refmiscinfo>Application</refmiscinfo>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>pg_controldata</refname>
|
2003-03-24 15:32:51 +01:00
|
|
|
<refpurpose>display control information of a <productname>PostgreSQL</productname> database cluster</refpurpose>
|
2002-08-16 22:34:06 +02:00
|
|
|
</refnamediv>
|
|
|
|
|
2003-08-31 19:32:24 +02:00
|
|
|
<indexterm zone="app-pgcontroldata">
|
|
|
|
<primary>pg_controldata</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2002-08-16 22:34:06 +02:00
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>pg_controldata</command>
|
|
|
|
<arg><replaceable class="parameter">datadir</replaceable></arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1 id="R1-APP-PGCONTROLDATA-1">
|
|
|
|
<title>Description</title>
|
|
|
|
<para>
|
2003-03-24 15:32:51 +01:00
|
|
|
<command>pg_controldata</command> prints information initialized during
|
|
|
|
<command>initdb</>, such as the catalog version and server locale.
|
2002-08-16 22:34:06 +02:00
|
|
|
It also shows information about write-ahead logging and checkpoint
|
2003-03-24 15:32:51 +01:00
|
|
|
processing. This information is cluster-wide, and not specific to any one
|
2002-08-16 22:34:06 +02:00
|
|
|
database.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-03-24 15:32:51 +01:00
|
|
|
This utility may only be run by the user who initialized the cluster because
|
|
|
|
it requires read access to the data directory.
|
2002-08-16 22:34:06 +02:00
|
|
|
You can specify the data directory on the command line, or use
|
|
|
|
the environment variable <envar>PGDATA</>.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Environment</title>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><envar>PGDATA</envar></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2002-08-17 07:07:18 +02:00
|
|
|
Default data directory location
|
2002-08-16 22:34:06 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:nil
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../reference.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:"/usr/lib/sgml/catalog"
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
-->
|