Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ab47254

Browse files
committed
Add mention of hostname leading slash handling to all manual pages that use -h.
1 parent ebd61ac commit ab47254

12 files changed

+38
-32
lines changed

doc/src/sgml/ref/createdb.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.13 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.14 2000/11/13 23:57:19 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -40,7 +40,8 @@ Postgres documentation
4040
<para>
4141
Specifies the hostname of the machine on which the
4242
<application>postmaster</application>
43-
is running.
43+
is running. If host begins with a slash, it is used
44+
as the path to a unix domain socket.
4445
</para>
4546
</listitem>
4647
</varlistentry>

doc/src/sgml/ref/createlang.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.12 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.13 2000/11/13 23:57:19 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -85,7 +85,8 @@ Postgres documentation
8585
<para>
8686
Specifies the hostname of the machine on which the
8787
<application>postmaster</application>
88-
is running.
88+
is running. If host begins with a slash, it is used
89+
as the path to a unix domain socket.
8990
</para>
9091
</listitem>
9192
</varlistentry>

doc/src/sgml/ref/createuser.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.12 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.13 2000/11/13 23:57:19 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -39,7 +39,8 @@ Postgres documentation
3939
<para>
4040
Specifies the hostname of the machine on which the
4141
<application>postmaster</application>
42-
is running.
42+
is running. If host begins with a slash, it is used
43+
as the path to a unix domain socket.
4344
</para>
4445
</listitem>
4546
</varlistentry>

doc/src/sgml/ref/dropdb.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.6 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.7 2000/11/13 23:57:19 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -39,7 +39,8 @@ Postgres documentation
3939
<para>
4040
Specifies the hostname of the machine on which the
4141
<application>postmaster</application>
42-
is running.
42+
is running. If host begins with a slash, it is used
43+
as the path to a unix domain socket.
4344
</para>
4445
</listitem>
4546
</varlistentry>

doc/src/sgml/ref/droplang.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/droplang.sgml,v 1.6 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/droplang.sgml,v 1.7 2000/11/13 23:57:19 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -85,7 +85,8 @@ Postgres documentation
8585
<para>
8686
Specifies the hostname of the machine on which the
8787
<application>postmaster</application>
88-
is running.
88+
is running. If host begins with a slash, it is used
89+
as the path to a unix domain socket.
8990
</para>
9091
</listitem>
9192
</varlistentry>

doc/src/sgml/ref/dropuser.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.7 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.8 2000/11/13 23:57:20 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -39,7 +39,8 @@ Postgres documentation
3939
<para>
4040
Specifies the hostname of the machine on which the
4141
<application>postmaster</application>
42-
is running.
42+
is running. If host begins with a slash, it is used
43+
as the path to a unix domain socket.
4344
</para>
4445
</listitem>
4546
</varlistentry>

doc/src/sgml/ref/pg_dump.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.22 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.23 2000/11/13 23:57:20 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -199,8 +199,8 @@ pg_dump [ -h <replaceable class="parameter">host</replaceable> ]
199199
<para>
200200
Specifies the hostname of the machine on which the
201201
<application>postmaster</application>
202-
is running. Defaults to using a local Unix domain socket
203-
rather than an IP connection.
202+
is running. If host begins with a slash, it is used
203+
as the path to a unix domain socket.
204204
</para>
205205
</listitem>
206206
</varlistentry>

doc/src/sgml/ref/pg_dumpall.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.13 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.14 2000/11/13 23:57:20 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -143,8 +143,8 @@ pg_dumpall [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replac
143143
<para>
144144
Specifies the hostname of the machine on which the
145145
<application>postmaster</application>
146-
is running. Defaults to using a local Unix domain socket
147-
rather than an IP connection..
146+
is running. If host begins with a slash, it is used
147+
as the path to a unix domain socket.
148148
</para>
149149
</listitem>
150150
</varlistentry>

doc/src/sgml/ref/pg_restore.sgml

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

doc/src/sgml/ref/postmaster.sgml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.13 2000/11/13 15:18:08 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.14 2000/11/13 23:57:20 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -132,23 +132,22 @@ postmaster [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -D <re
132132
Specifies the TCP/IP hostname or address
133133
on which the <application>postmaster</application>
134134
is to listen for connections from frontend applications. Defaults to
135-
the value of the
136-
<envar>PGHOST</envar>
135+
the value of the <envar>PGHOST</envar>
137136
environment variable, or if <envar>PGHOST</envar>
138-
is not set, then defaults to "all", meaning listen on all configured addresses
137+
is not set, it defaults to listening on all configured addresses
139138
(including localhost).
140139
</para>
141140
<para>
142-
If you use a hostname or address other than "all", do not try to run
141+
If you use a hostname do not try to run
143142
multiple instances of <application>postmaster</application> on the
144143
same IP address but different ports. Doing so will result in them
145144
attempting (incorrectly) to use the same shared memory segments.
146-
Also, if you use a hostname other than "all", all of the host's IP addresses
145+
Also, if you use a hostname, all of the host's IP addresses
147146
on which <application>postmaster</application> instances are
148147
listening must be distinct in the two last octets.
149148
</para>
150149
<para>
151-
If you do use "all" (the default), then each instance must listen on a
150+
If you don't use this option, each instance must listen on a
152151
different port (via -p or <envar>PGPORT</envar>). And, of course, do
153152
not try to use both approaches on one host.
154153
</para>

doc/src/sgml/ref/psql-ref.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.42 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.43 2000/11/13 23:57:20 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -1322,8 +1322,8 @@ Access permissions for database "test"
13221322
<para>
13231323
Specifies the host name of the machine on which the
13241324
<application>postmaster</application> is running.
1325-
Without this option, communication is performed using
1326-
local Unix domain sockets.
1325+
If host begins with a slash, it is used
1326+
as the path to a unix domain socket.
13271327
</para>
13281328
</listitem>
13291329
</varlistentry>

doc/src/sgml/ref/vacuumdb.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.12 2000/11/13 23:37:51 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.13 2000/11/13 23:57:20 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -119,7 +119,8 @@ Postgres documentation
119119
<para>
120120
Specifies the hostname of the machine on which the
121121
<application>postmaster</application>
122-
is running.
122+
is running. If host begins with a slash, it is used
123+
as the path to a unix domain socket.
123124
</para>
124125
</listitem>
125126
</varlistentry>

0 commit comments

Comments
 (0)