Update description of parameter password_encryption
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 10 Jun 2020 09:57:41 +0000 (11:57 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 10 Jun 2020 09:57:41 +0000 (11:57 +0200)
The previous description string still described the pre-PostgreSQL
10 (pre eb61136dc75a76caef8460fa939244d8593100f2) behavior of
selecting between encrypted and unencrypted, but it is now choosing
between encryption algorithms.

src/backend/utils/misc/guc.c

index 2f3e0a70e007221d7b2dea0c42e4510c3b90e608..17c15348efc2f98601528f7cb553516e33f8d136 100644 (file)
@@ -4729,10 +4729,8 @@ static struct config_enum ConfigureNamesEnum[] =
 
    {
        {"password_encryption", PGC_USERSET, CONN_AUTH_AUTH,
-           gettext_noop("Encrypt passwords."),
-           gettext_noop("When a password is specified in CREATE USER or "
-                        "ALTER USER without writing either ENCRYPTED or UNENCRYPTED, "
-                        "this parameter determines whether the password is to be encrypted.")
+           gettext_noop("Chooses the algorithm for encrypting passwords."),
+           NULL
        },
        &Password_encryption,
        PASSWORD_TYPE_MD5, password_encryption_options,