OSDN Git Service

Document that pg_ctl cares about the PGHOST environment variable.
authorBruce Momjian <bruce@momjian.us>
Mon, 22 Feb 2010 22:30:10 +0000 (22:30 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 22 Feb 2010 22:30:10 +0000 (22:30 +0000)
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/postgres-ref.sgml

index 16d9373..a85d0ef 100644 (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
 -->
 
@@ -393,14 +393,26 @@ PostgreSQL documentation
    </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>
index 0024c43..636782a 100644 (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>