Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94a8c19

Browse files
committed
doc: explain how the home directory is found on Unix-like syst.
Done for libpq, postgres-fdw, and psql.Reported-by: marc@msys.chDiscussion:https://postgr.es/m/CAKFQuwZ-T-zsVM7gApS9-XU9vGxC7Oa-UyRQPVcJFagNU=AjOw@mail.gmail.comBackpatch-through: master
1 parent1eb5564 commit94a8c19

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9256,7 +9256,9 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
92569256
The file <filename>.pgpass</filename> in a user's home directory can
92579257
contain passwords to
92589258
be used if the connection requires a password (and no password has been
9259-
specified otherwise). On Microsoft Windows the file is named
9259+
specified otherwise). On Unix systems, the directory can be specified by
9260+
the <envar>HOME</envar> environment variable, or if undefined, the home
9261+
directory of the effective user. On Microsoft Windows the file is named
92609262
<filename>%APPDATA%\postgresql\pgpass.conf</filename> (where
92619263
<filename>%APPDATA%</filename> refers to the Application Data subdirectory in
92629264
the user's profile).

‎doc/src/sgml/postgres-fdw.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ OPTIONS (ADD password_required 'false');
194194
user can potentially use any client certificates,
195195
<filename>.pgpass</filename>,
196196
<filename>.pg_service.conf</filename> etc. in the unix home directory of the
197-
system user the postgres server runs as. They can also use any trust
197+
system user the postgres server runs as. (For details on how home
198+
directories are found, see <xref linkend="libpq-pgpass"/>.) They can
199+
also use any trust
198200
relationship granted by authentication modes like <literal>peer</literal>
199201
or <literal>ident</literal> authentication.
200202
</para>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,8 @@ INSERT INTO tbls1 VALUES ($1, $2) \parse stmt1
10481048
<para>
10491049
Changes the current working directory to
10501050
<replaceable>directory</replaceable>. Without argument, changes
1051-
to the current user's home directory.
1051+
to the current user's home directory. For details on how home
1052+
directories are found, see <xref linkend="libpq-pgpass"/>.
10521053
</para>
10531054

10541055
<tip>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp