Update description of parameter password_encryption
authorPeter Eisentraut
Wed, 10 Jun 2020 09:57:41 +0000 (11:57 +0200)
committerPeter Eisentraut
Wed, 10 Jun 2020 11:40:43 +0000 (13:40 +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 a70e79c48910171baa898c750ed50ed1293ab2bc..01e870e4e5ed50886382414ead2b347b8e044e0b 100644 (file)
@@ -4490,10 +4490,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,