Skip to content

Commit 447eade

Browse files
Dustin Collinseread
authored andcommitted
Escape special characters in postgresql password
Changelog: changed
1 parent 19bce79 commit 447eade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/settings/database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ The following settings are affected in the `postgresql` block:
321321
postgresql['trust_auth_cidr_addresses'] = %w(127.0.0.1/24)
322322
postgresql['sql_user'] = "gitlab"
323323
324-
##! SQL_USER_PASSWORD_HASH can be generated using the command `gitlab-ctl pg-password-md5 gitlab`,
325-
##! where `gitlab` is the name of the SQL user that connects to GitLab.
324+
##! SQL_USER_PASSWORD_HASH can be generated using the command `gitlab-ctl pg-password-md5 'gitlab'`,
325+
##! where 'gitlab' (single-quoted to avoid shell interpolation) is the name of the SQL user that connects to GitLab.
326326
postgresql['sql_user_password'] = "SQL_USER_PASSWORD_HASH"
327327
328328
# force ssl on all connections defined in trust_auth_cidr_addresses and md5_auth_cidr_addresses

0 commit comments

Comments
 (0)