diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 97c246f1c0181af51ba955a9d2f4e5e044577c51..61824b63e57fa378df0cf0b406f0762675a030de 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -3882,7 +3882,8 @@ The file .pgpass 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 -APPDATA/postgresql/pgpass.txt. +%APPDATA%\postgresql\pgpass.txt (where %APPDATA% +refers to the Application Data subdirectory in the user's profile). @@ -3932,8 +3933,8 @@ however.) A matching private key file ~/.postgresql/postgresql.key must also be present, and must not be world-readable. (On Microsoft Windows these files are named - APPDATA/postgresql/postgresql.crt and - APPDATA/postgresql/postgresql.key.) + %APPDATA%\postgresql\postgresql.crt and + %APPDATA%\postgresql\postgresql.key.) @@ -3942,7 +3943,7 @@ however.) libpq will use the certificate list stored therein to verify the server's certificate. (On Microsoft Windows the file is named - APPDATA/postgresql/root.crt.) + %APPDATA%\postgresql\root.crt.) The SSL connection will fail if the server does not present a certificate; therefore, to use this feature the server must also have a root.crt file. diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index afdee5c2ba7deb034e71cc3a765917de1e23b4a3..7f7a4173fe5a2237844b8671cfd66f3d0f80dc19 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -2525,7 +2525,7 @@ $endif psqlrc file and the user's ~/.psqlrc file. (On Windows, the user's startup file is named - APPDATA/postgresql/psqlrc.txt.) + %APPDATA%\postgresql\psqlrc.txt.) See 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 \set @@ -2548,7 +2548,7 @@ $endif The command-line history is stored in the file ~/.psql_history, or - APPDATA/postgresql/psql_history on Windows. + %APPDATA%\postgresql\psql_history on Windows.