summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2005-01-06 21:20:44 +0000
committerTom Lane2005-01-06 21:20:44 +0000
commit41ca7563865d0117b4c9055ff96ef08a1a14075b (patch)
treecf9be2d30a4f31e8ce30969652a2578239b34dca
parentc2f7e3e227daa33462201b0f4d482ec9e5f2ddf4 (diff)
Spell APPDATA as %APPDATA%, per recommendation from Magnus.
-rw-r--r--doc/src/sgml/libpq.sgml11
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml6
2 files changed, 9 insertions, 8 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 97c246f1c01..61824b63e57 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.175 2005/01/06 18:29:07 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.176 2005/01/06 21:20:43 tgl Exp $
-->
<chapter id="libpq">
@@ -3882,7 +3882,8 @@ The file <filename>.pgpass</filename> in a user's home directory is a file
that can contain passwords to be used if the connection requires a
password (and no password has been specified otherwise).
On Microsoft Windows the file is named
-<filename>APPDATA/postgresql/pgpass.txt</>.
+<filename>%APPDATA%\postgresql\pgpass.txt</> (where <filename>%APPDATA%</>
+refers to the Application Data subdirectory in the user's profile).
</para>
<para>
@@ -3932,8 +3933,8 @@ however.)
A matching private key file <filename>~/.postgresql/postgresql.key</>
must also be present, and must not be world-readable.
(On Microsoft Windows these files are named
- <filename>APPDATA/postgresql/postgresql.crt</filename> and
- <filename>APPDATA/postgresql/postgresql.key</filename>.)
+ <filename>%APPDATA%\postgresql\postgresql.crt</filename> and
+ <filename>%APPDATA%\postgresql\postgresql.key</filename>.)
</para>
<para>
@@ -3942,7 +3943,7 @@ however.)
<application>libpq</application> will use the certificate list stored
therein to verify the server's certificate.
(On Microsoft Windows the file is named
- <filename>APPDATA/postgresql/root.crt</filename>.)
+ <filename>%APPDATA%\postgresql\root.crt</filename>.)
The SSL connection will
fail if the server does not present a certificate; therefore, to
use this feature the server must also have a <filename>root.crt</> file.
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index afdee5c2ba7..7f7a4173fe5 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.128 2005/01/06 18:29:08 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.129 2005/01/06 21:20:44 tgl Exp $
PostgreSQL documentation
-->
@@ -2525,7 +2525,7 @@ $endif
<filename>psqlrc</filename> file and the user's
<filename>~/.psqlrc</filename> file.
(On Windows, the user's startup file is named
- <filename>APPDATA/postgresql/psqlrc.txt</filename>.)
+ <filename>%APPDATA%\postgresql\psqlrc.txt</filename>.)
See <filename><replaceable>PREFIX</>/share/psqlrc.sample</>
for information on setting up the system-wide file. It could be used
to set up the client or the server to taste (using the <command>\set
@@ -2548,7 +2548,7 @@ $endif
<para>
The command-line history is stored in the file
<filename>~/.psql_history</filename>, or
- <filename>APPDATA/postgresql/psql_history</filename> on Windows.
+ <filename>%APPDATA%\postgresql\psql_history</filename> on Windows.
</para>
</listitem>
</itemizedlist>