Skip to content

Commit 706eec0

Browse files
authored
Fix wrong parameter description for Password Exec Command
The documentation mentions that `%HOST%` can be used as a replacement parameter for the Password Exec Field in the Advanced tab of the Server Dialog, but the parameter is actually `%HOSTNAME%`:
1 parent f63190d commit 706eec0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/en_US/server_dialog.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ Use the fields in the *Advanced* tab to configure a connection:
206206
should be generated as a transient authorization token instead of providing a
207207
password when connecting in `PAM authentication <https://www.postgresql.org/docs/current/auth-pam.html>`_ scenarios.
208208
You can pass server hostname, port and DB username to the password exec command as variable by providing placeholders
209-
like ``%HOST%``, ``%PORT%`` and ``%USERNAME%`` which will be replace with the server connection information.
210-
Example: ``/path/to/script --hostnmae %HOST% --port %PORT% --username %USERNAME%``
209+
like ``%HOSTNAME%``, ``%PORT%`` and ``%USERNAME%`` which will be replace with the server connection information.
210+
Example: ``/path/to/script --hostname %HOSTNAME% --port %PORT% --username %USERNAME%``
211211
* Use the *Password exec expiration* field to specify a maximum age, in seconds,
212212
of the password generated with a *Password exec command*. If not specified,
213213
the password will not expire until your pgAdmin session does.
@@ -247,4 +247,4 @@ a server node label in the object explorer tree.
247247
Click on the *+* button to add a new tag. Some of the parameters are:
248248

249249
* *Text* field to specify the tag name.
250-
* *Color* field to select the accent color of the tag.
250+
* *Color* field to select the accent color of the tag.

0 commit comments

Comments
 (0)