Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98e195d

Browse files
committed
Make socket option specify just the directory, not the full path.
1 parent9bc6fb3 commit98e195d

16 files changed

+42
-46
lines changed

‎doc/src/sgml/libpq++.sgml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.18 2000/11/13 15:18:07 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.19 2000/11/22 01:41:12 momjian Exp $
33
-->
44

55
<chapter id="libpqplusplus">
@@ -80,8 +80,8 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.18 2000/11/13 15:18:
8080
<listitem>
8181
<para>
8282
<envar>PGHOST</envar> sets the default server name.
83-
Ifa non-zero-length string is specified, TCP/IP communicationis used.
84-
Without a host name, libpq will connect using a local Unix domain socket.
83+
Ifit begins with a slash, itis used
84+
as the directory for the unix domain socket.
8585
</para>
8686
</listitem>
8787
<listitem>
@@ -93,8 +93,8 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.18 2000/11/13 15:18:
9393
</listitem>
9494
<listitem>
9595
<para>
96-
<envar>PGUNIXSOCKET</envar> sets thefullUnix domain socket
97-
file name for communicating with the <productname>Postgres</productname>
96+
<envar>PGUNIXSOCKET</envar> sets the Unix domain socket
97+
directory for communicating with the <productname>Postgres</productname>
9898
backend.
9999
</para>
100100
</listitem>

‎doc/src/sgml/libpq.sgml‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.47 2000/11/14 01:53:37 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.48 2000/11/22 01:41:12 momjian Exp $
33
-->
44

55
<chapter id="libpq-chapter">
@@ -90,7 +90,7 @@ PGconn *PQconnectdb(const char *conninfo)
9090
Name of host to connect to.
9191
Using this parameter causes a hostname look-up. See hostaddr.
9292
If it begins with a slash, it is used
93-
as thepath to a unix domain socket.
93+
as thedirectory for the unix domain socket.
9494
</para>
9595
</listitem>
9696
</varlistentry>
@@ -138,7 +138,7 @@ PGconn *PQconnectdb(const char *conninfo)
138138
<term><literal>unixsocket</literal></term>
139139
<listitem>
140140
<para>
141-
Full path toUnix-domain socket file to connect to at the server host.
141+
Directory forUnix-domain socket file.
142142
</para>
143143
</listitem>
144144
</varlistentry>
@@ -567,7 +567,7 @@ char *PQport(const PGconn *conn)
567567
<listitem>
568568
<para>
569569
<function>PQunixsocket</function>
570-
Returns thename of the Unix-domain socket of the connection.
570+
Returns thedirectory of the Unix-domain socket of the connection.
571571
<synopsis>
572572
char *PQunixsocket(const PGconn *conn)
573573
</synopsis>
@@ -1839,9 +1839,8 @@ application programs.
18391839
<listitem>
18401840
<para>
18411841
<envar>PGHOST</envar> sets the default server name.
1842-
If it beings with a slash, it is used as thepath to a unix domain
1842+
If it beings with a slash, it is used as thedirectory for the unix domain
18431843
socket.
1844-
Without a host name, libpq will connect using a local Unix domain socket.
18451844
</para>
18461845
</listitem>
18471846
<listitem>

‎doc/src/sgml/ref/createdb.sgml‎

Lines changed: 2 additions & 2 deletions
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.14 2000/11/13 23:57:19 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createdb.sgml,v 1.15 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -41,7 +41,7 @@ Postgres documentation
4141
Specifies the hostname of the machine on which the
4242
<application>postmaster</application>
4343
is running. If host begins with a slash, it is used
44-
as thepath to a unix domain socket.
44+
as thedirectory for the unix domain socket.
4545
</para>
4646
</listitem>
4747
</varlistentry>

‎doc/src/sgml/ref/createlang.sgml‎

Lines changed: 2 additions & 2 deletions
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.13 2000/11/13 23:57:19 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createlang.sgml,v 1.14 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -86,7 +86,7 @@ Postgres documentation
8686
Specifies the hostname of the machine on which the
8787
<application>postmaster</application>
8888
is running. If host begins with a slash, it is used
89-
as thepath to a unix domain socket.
89+
as thedirectory for the unix domain socket.
9090
</para>
9191
</listitem>
9292
</varlistentry>

‎doc/src/sgml/ref/createuser.sgml‎

Lines changed: 2 additions & 2 deletions
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.13 2000/11/13 23:57:19 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/createuser.sgml,v 1.14 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -40,7 +40,7 @@ Postgres documentation
4040
Specifies the hostname of the machine on which the
4141
<application>postmaster</application>
4242
is running. If host begins with a slash, it is used
43-
as thepath to a unix domain socket.
43+
as thedirectory for the unix domain socket.
4444
</para>
4545
</listitem>
4646
</varlistentry>

‎doc/src/sgml/ref/dropdb.sgml‎

Lines changed: 2 additions & 2 deletions
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.7 2000/11/13 23:57:19 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.8 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -40,7 +40,7 @@ Postgres documentation
4040
Specifies the hostname of the machine on which the
4141
<application>postmaster</application>
4242
is running. If host begins with a slash, it is used
43-
as thepath to a unix domain socket.
43+
as thedirectory for the unix domain socket.
4444
</para>
4545
</listitem>
4646
</varlistentry>

‎doc/src/sgml/ref/droplang.sgml‎

Lines changed: 2 additions & 2 deletions
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.7 2000/11/13 23:57:19 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/droplang.sgml,v 1.8 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -86,7 +86,7 @@ Postgres documentation
8686
Specifies the hostname of the machine on which the
8787
<application>postmaster</application>
8888
is running. If host begins with a slash, it is used
89-
as thepath to a unix domain socket.
89+
as thedirectory for the unix domain socket.
9090
</para>
9191
</listitem>
9292
</varlistentry>

‎doc/src/sgml/ref/dropuser.sgml‎

Lines changed: 2 additions & 2 deletions
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.8 2000/11/13 23:57:20 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.9 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -40,7 +40,7 @@ Postgres documentation
4040
Specifies the hostname of the machine on which the
4141
<application>postmaster</application>
4242
is running. If host begins with a slash, it is used
43-
as thepath to a unix domain socket.
43+
as thedirectory for the unix domain socket.
4444
</para>
4545
</listitem>
4646
</varlistentry>

‎doc/src/sgml/ref/pg_dump.sgml‎

Lines changed: 2 additions & 2 deletions
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.24 2000/11/21 15:39:09 pjw Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.25 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -323,7 +323,7 @@ pg_dump [ -h <replaceable class="parameter">host</replaceable> ]
323323
Specifies the hostname of the machine on which the
324324
<application>postmaster</application>
325325
is running. If host begins with a slash, it is used
326-
as thepath to a unix domain socket.
326+
as thedirectory for the unix domain socket.
327327
</para>
328328
</listitem>
329329
</varlistentry>

‎doc/src/sgml/ref/pg_dumpall.sgml‎

Lines changed: 2 additions & 2 deletions
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.14 2000/11/13 23:57:20 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.15 2000/11/22 01:41:13 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -144,7 +144,7 @@ pg_dumpall [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replac
144144
Specifies the hostname of the machine on which the
145145
<application>postmaster</application>
146146
is running. If host begins with a slash, it is used
147-
as thepath to a unix domain socket.
147+
as thedirectory for the unix domain socket.
148148
</para>
149149
</listitem>
150150
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp