Update description of parameter password_encryption
authorPeter Eisentraut <[email protected]>
Wed, 10 Jun 2020 09:57:41 +0000 (11:57 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 10 Jun 2020 11:41:59 +0000 (13:41 +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 5f019e611a7290df7ffa49dc73fbd0d3e3f541ae..454e6b1a384a8fa26c88168a7d3ffbc9fffc65f8 100644 (file)
@@ -3917,10 +3917,8 @@ static struct config_enum ConfigureNamesEnum[] =
 
    {
        {"password_encryption", PGC_USERSET, CONN_AUTH_SECURITY,
-           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,