1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00

Spell APPDATA as %APPDATA%, per recommendation from Magnus.

This commit is contained in:
Tom Lane 2005-01-06 21:20:44 +00:00
parent c2f7e3e227
commit 41ca756386
2 changed files with 9 additions and 8 deletions

View File

@ -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"> <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 that can contain passwords to be used if the connection requires a
password (and no password has been specified otherwise). password (and no password has been specified otherwise).
On Microsoft Windows the file is named 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>
<para> <para>
@ -3932,8 +3933,8 @@ however.)
A matching private key file <filename>~/.postgresql/postgresql.key</> A matching private key file <filename>~/.postgresql/postgresql.key</>
must also be present, and must not be world-readable. must also be present, and must not be world-readable.
(On Microsoft Windows these files are named (On Microsoft Windows these files are named
<filename>APPDATA/postgresql/postgresql.crt</filename> and <filename>%APPDATA%\postgresql\postgresql.crt</filename> and
<filename>APPDATA/postgresql/postgresql.key</filename>.) <filename>%APPDATA%\postgresql\postgresql.key</filename>.)
</para> </para>
<para> <para>
@ -3942,7 +3943,7 @@ however.)
<application>libpq</application> will use the certificate list stored <application>libpq</application> will use the certificate list stored
therein to verify the server's certificate. therein to verify the server's certificate.
(On Microsoft Windows the file is named (On Microsoft Windows the file is named
<filename>APPDATA/postgresql/root.crt</filename>.) <filename>%APPDATA%\postgresql\root.crt</filename>.)
The SSL connection will The SSL connection will
fail if the server does not present a certificate; therefore, to fail if the server does not present a certificate; therefore, to
use this feature the server must also have a <filename>root.crt</> file. use this feature the server must also have a <filename>root.crt</> file.

View File

@ -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 PostgreSQL documentation
--> -->
@ -2525,7 +2525,7 @@ $endif
<filename>psqlrc</filename> file and the user's <filename>psqlrc</filename> file and the user's
<filename>~/.psqlrc</filename> file. <filename>~/.psqlrc</filename> file.
(On Windows, the user's startup file is named (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</> See <filename><replaceable>PREFIX</>/share/psqlrc.sample</>
for information on setting up the system-wide file. It could be used 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 to set up the client or the server to taste (using the <command>\set
@ -2548,7 +2548,7 @@ $endif
<para> <para>
The command-line history is stored in the file The command-line history is stored in the file
<filename>~/.psql_history</filename>, or <filename>~/.psql_history</filename>, or
<filename>APPDATA/postgresql/psql_history</filename> on Windows. <filename>%APPDATA%\postgresql\psql_history</filename> on Windows.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>