Document that pg_ctl cares about the PGHOST environment variable.

This commit is contained in:
Bruce Momjian 2010-02-22 22:30:10 +00:00
parent b4689bfb00
commit c750cb4bd3
2 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.47 2009/12/10 06:32:28 petere Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.48 2010/02/22 22:30:10 momjian Exp $
PostgreSQL documentation
-->
@ -392,15 +392,27 @@ PostgreSQL documentation
</listitem>
</varlistentry>
<varlistentry>
<term><envar>PGHOST</envar></term>
<listitem>
<para>
Default hostname or Unix-domain socket location for <xref
linkend="app-psql"> (used by the -w option).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>PGPORT</envar></term>
<listitem>
<para>
Default port for <xref linkend="app-psql"> (used by the -w option).
Default port number for <xref linkend="app-psql"> (used by the -w option).
</para>
</listitem>
</varlistentry>
</variablelist>
<para>

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.51 2007/07/09 01:08:09 tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.52 2010/02/22 22:30:10 momjian Exp $
PostgreSQL documentation
-->
@ -579,7 +579,7 @@ PostgreSQL documentation
<listitem>
<para>
Default port (preferably set in the configuration file)
Default port number (preferably set in the configuration file)
</para>
</listitem>
</varlistentry>