Add mention of hostname leading slash handling to all manual pages that use -h.

This commit is contained in:
Bruce Momjian 2000-11-13 23:57:20 +00:00
parent ebd61ac03f
commit ab47254757
12 changed files with 38 additions and 32 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.13 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.14 2000/11/13 23:57:19 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -40,7 +40,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.12 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.13 2000/11/13 23:57:19 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -85,7 +85,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.12 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.13 2000/11/13 23:57:19 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -39,7 +39,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.6 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.7 2000/11/13 23:57:19 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -39,7 +39,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/droplang.sgml,v 1.6 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/droplang.sgml,v 1.7 2000/11/13 23:57:19 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -85,7 +85,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.7 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.8 2000/11/13 23:57:20 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -39,7 +39,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.22 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.23 2000/11/13 23:57:20 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -199,8 +199,8 @@ pg_dump [ -h <replaceable class="parameter">host</replaceable> ]
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. Defaults to using a local Unix domain socket is running. If host begins with a slash, it is used
rather than an IP connection. as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.13 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.14 2000/11/13 23:57:20 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -143,8 +143,8 @@ pg_dumpall [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replac
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. Defaults to using a local Unix domain socket is running. If host begins with a slash, it is used
rather than an IP connection.. as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -307,8 +307,8 @@ pg_restore [ <replaceable class="parameter">archive-file</replaceable> ]
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. Defaults to using a local Unix domain socket is running. If host begins with a slash, it is used
rather than an IP connection. as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.13 2000/11/13 15:18:08 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.14 2000/11/13 23:57:20 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -132,23 +132,22 @@ postmaster [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -D <re
Specifies the TCP/IP hostname or address Specifies the TCP/IP hostname or address
on which the <application>postmaster</application> on which the <application>postmaster</application>
is to listen for connections from frontend applications. Defaults to is to listen for connections from frontend applications. Defaults to
the value of the the value of the <envar>PGHOST</envar>
<envar>PGHOST</envar>
environment variable, or if <envar>PGHOST</envar> environment variable, or if <envar>PGHOST</envar>
is not set, then defaults to "all", meaning listen on all configured addresses is not set, it defaults to listening on all configured addresses
(including localhost). (including localhost).
</para> </para>
<para> <para>
If you use a hostname or address other than "all", do not try to run If you use a hostname do not try to run
multiple instances of <application>postmaster</application> on the multiple instances of <application>postmaster</application> on the
same IP address but different ports. Doing so will result in them same IP address but different ports. Doing so will result in them
attempting (incorrectly) to use the same shared memory segments. attempting (incorrectly) to use the same shared memory segments.
Also, if you use a hostname other than "all", all of the host's IP addresses Also, if you use a hostname, all of the host's IP addresses
on which <application>postmaster</application> instances are on which <application>postmaster</application> instances are
listening must be distinct in the two last octets. listening must be distinct in the two last octets.
</para> </para>
<para> <para>
If you do use "all" (the default), then each instance must listen on a If you don't use this option, each instance must listen on a
different port (via -p or <envar>PGPORT</envar>). And, of course, do different port (via -p or <envar>PGPORT</envar>). And, of course, do
not try to use both approaches on one host. not try to use both approaches on one host.
</para> </para>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.42 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.43 2000/11/13 23:57:20 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -1322,8 +1322,8 @@ Access permissions for database "test"
<para> <para>
Specifies the host name of the machine on which the Specifies the host name of the machine on which the
<application>postmaster</application> is running. <application>postmaster</application> is running.
Without this option, communication is performed using If host begins with a slash, it is used
local Unix domain sockets. as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.12 2000/11/13 23:37:51 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.13 2000/11/13 23:57:20 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -119,7 +119,8 @@ Postgres documentation
<para> <para>
Specifies the hostname of the machine on which the Specifies the hostname of the machine on which the
<application>postmaster</application> <application>postmaster</application>
is running. is running. If host begins with a slash, it is used
as the path to a unix domain socket.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>