glfs/content/databases/postgresql/postgresql-config.xml

25 lines
1.1 KiB
XML
Raw Normal View History

<sect2>
<title>Configuring <application>Postgre<acronym>SQL</acronym></application></title>
<sect3>
<title>Config files</title>
<para><filename>$PGDATA/pg_ident.con</filename>, <filename>$PGDATA/pg_hba.conf</filename>, <filename>$PGDATA/postgresql.conf</filename></para>
<para>The <envar>PGDATA</envar> environment variable is used to distinguish database
clusters from one another by setting it to the value of the directory
which contains the cluster desired. The three configuration files
exist in every <filename class="directory">PGDATA/</filename> directory.
Details on the format of the files and the options that can be set in
each can be found in <ulink
url="file:///usr/share/doc/postgresql/html/index.html"/>.</para>
<para>Install <filename>/etc/rc.d/init.d/postgresql</filename>
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-postgresql</command></userinput></screen>
</sect3>
</sect2>