Skip to content

Commit e60b5d5

Browse files
committed
This patch fixes a few typos in the documentation for the '~/.pgpass'
libpq feature. Neil Conway
1 parent 1b70665 commit e60b5d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 6 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.102 2002/11/15 03:11:17 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.103 2002/12/13 05:49:10 momjian Exp $
33
-->
44

55
<chapter id="libpq">
@@ -2136,14 +2136,14 @@ for information on correct values for these environment variables.
21362136
<primary>files</primary>
21372137
</indexterm>
21382138
<para>
2139-
<anchor id="pgpassfile"/>
2139+
<anchor id="pgpassfile">
21402140
<indexterm>
21412141
<primary>password</primary>
21422142
<secondary>.pgpass</secondary>
21432143
</indexterm>
2144-
The file <filename>.pgpass</filename> in the home directory is a file
2145-
that can contain passwords to be used if the connection requires a
2146-
password. This file should have the format:
2144+
The <filename>.pgpass</filename> file in a user's home directory is a
2145+
file that can contain passwords to be used if the connection requires
2146+
a password. This file should have the format:
21472147
<synopsis>
21482148
<replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable>
21492149
</synopsis>
@@ -2155,7 +2155,7 @@ with <literal>\</literal>.
21552155
<para>
21562156
The permissions on <filename>.pgpass</filename> must disallow any
21572157
access to world or group; achieve this by the command
2158-
<command>chmod 0600 .pgaccess</command>.
2158+
<command>chmod 0600 ~/.pgpass</command>.
21592159
If the permissions are less strict than this, the file will be ignored.
21602160
</para>
21612161
</sect1>

0 commit comments

Comments
 (0)