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

Commit 41ca756

Browse files
committed
Spell APPDATA as %APPDATA%, per recommendation from Magnus.
1 parent c2f7e3e commit 41ca756

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.175 2005/01/06 18:29:07 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.176 2005/01/06 21:20:43 tgl Exp $
33
-->
44

55
<chapter id="libpq">
@@ -3882,7 +3882,8 @@ The file <filename>.pgpass</filename> in a user's home directory is a file
38823882
that can contain passwords to be used if the connection requires a
38833883
password (and no password has been specified otherwise).
38843884
On Microsoft Windows the file is named
3885-
<filename>APPDATA/postgresql/pgpass.txt</>.
3885+
<filename>%APPDATA%\postgresql\pgpass.txt</> (where <filename>%APPDATA%</>
3886+
refers to the Application Data subdirectory in the user's profile).
38863887
</para>
38873888

38883889
<para>
@@ -3932,8 +3933,8 @@ however.)
39323933
A matching private key file <filename>~/.postgresql/postgresql.key</>
39333934
must also be present, and must not be world-readable.
39343935
(On Microsoft Windows these files are named
3935-
<filename>APPDATA/postgresql/postgresql.crt</filename> and
3936-
<filename>APPDATA/postgresql/postgresql.key</filename>.)
3936+
<filename>%APPDATA%\postgresql\postgresql.crt</filename> and
3937+
<filename>%APPDATA%\postgresql\postgresql.key</filename>.)
39373938
</para>
39383939

39393940
<para>
@@ -3942,7 +3943,7 @@ however.)
39423943
<application>libpq</application> will use the certificate list stored
39433944
therein to verify the server's certificate.
39443945
(On Microsoft Windows the file is named
3945-
<filename>APPDATA/postgresql/root.crt</filename>.)
3946+
<filename>%APPDATA%\postgresql\root.crt</filename>.)
39463947
The SSL connection will
39473948
fail if the server does not present a certificate; therefore, to
39483949
use this feature the server must also have a <filename>root.crt</> file.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.128 2005/01/06 18:29:08 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.129 2005/01/06 21:20:44 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -2525,7 +2525,7 @@ $endif
25252525
<filename>psqlrc</filename> file and the user's
25262526
<filename>~/.psqlrc</filename> file.
25272527
(On Windows, the user's startup file is named
2528-
<filename>APPDATA/postgresql/psqlrc.txt</filename>.)
2528+
<filename>%APPDATA%\postgresql\psqlrc.txt</filename>.)
25292529
See <filename><replaceable>PREFIX</>/share/psqlrc.sample</>
25302530
for information on setting up the system-wide file. It could be used
25312531
to set up the client or the server to taste (using the <command>\set
@@ -2548,7 +2548,7 @@ $endif
25482548
<para>
25492549
The command-line history is stored in the file
25502550
<filename>~/.psql_history</filename>, or
2551-
<filename>APPDATA/postgresql/psql_history</filename> on Windows.
2551+
<filename>%APPDATA%\postgresql\psql_history</filename> on Windows.
25522552
</para>
25532553
</listitem>
25542554
</itemizedlist>

0 commit comments

Comments
 (0)