Skip to content

Commit 31eeaa8

Browse files
committed
PGPRO-66: fix "scram" authorization methid description in pg_hba.conf.sample
1 parent de4487b commit 31eeaa8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/libpq/pg_hba.conf.sample

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
# METHOD can be "trust", "reject", "md5", "password", "scram", "gss",
4646
# "sspi", "ident", "peer", "pam", "ldap", "radius" or "cert". Note that
4747
# "password" sends passwords in clear text; "md5" or "scram" are preferred
48-
# since they send encrypted passwords.
48+
# since they send encrypted passwords. Please note that user created with
49+
# CREATE ROLE ... USING PASSWORD ... USING 'scram' can authorize using
50+
# only "scram" method. For historical reasons users that have 'md5'
51+
# password can authorize using both 'md5' and 'password' methods.
4952
#
5053
# OPTIONS are a set of options for the authentication in the format
5154
# NAME=VALUE. The available options depend on the different

0 commit comments

Comments
 (0)