Rename COMPAT_OPTIONS_CLIENT to COMPAT_OPTIONS_OTHER.
authorRobert Haas <[email protected]>
Wed, 27 Mar 2024 14:45:28 +0000 (10:45 -0400)
committerRobert Haas <[email protected]>
Wed, 27 Mar 2024 14:45:28 +0000 (10:45 -0400)
The user-facing name is "Other Platforms and Clients", but the
internal name seems too focused on clients specifically, especially
given the plan to add a new setting to this session that is about
platform or deployment model compatibility rather than client
compatibility.

Jelte Fennema-Nio

Discussion: http://postgr.es/m/CAGECzQTfMbDiM6W3av+3weSnHxJvPmuTEcjxVvSt91sQBdOxuQ@mail.gmail.com

src/backend/utils/misc/guc_tables.c
src/include/utils/guc_tables.h

index 1e71e7db4a098f56e1f5092eabbb3f7e14465f83..abd9029451fe70c6fa7bf4e8f69c31b966849018 100644 (file)
@@ -711,7 +711,7 @@ const char *const config_group_names[] =
    [CLIENT_CONN_OTHER] = gettext_noop("Client Connection Defaults / Other Defaults"),
    [LOCK_MANAGEMENT] = gettext_noop("Lock Management"),
    [COMPAT_OPTIONS_PREVIOUS] = gettext_noop("Version and Platform Compatibility / Previous PostgreSQL Versions"),
-   [COMPAT_OPTIONS_CLIENT] = gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
+   [COMPAT_OPTIONS_OTHER] = gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
    [ERROR_HANDLING_OPTIONS] = gettext_noop("Error Handling"),
    [PRESET_OPTIONS] = gettext_noop("Preset Options"),
    [CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
@@ -1523,7 +1523,7 @@ struct config_bool ConfigureNamesBool[] =
        NULL, NULL, NULL
    },
    {
-       {"transform_null_equals", PGC_USERSET, COMPAT_OPTIONS_CLIENT,
+       {"transform_null_equals", PGC_USERSET, COMPAT_OPTIONS_OTHER,
            gettext_noop("Treats \"expr=NULL\" as \"expr IS NULL\"."),
            gettext_noop("When turned on, expressions of the form expr = NULL "
                         "(or NULL = expr) are treated as expr IS NULL, that is, they "
index 0a2e274ebb2c9452ba38b90cc15c48b52e21c2f0..0c0277c4230269110002fa53f6e887b811408cbd 100644 (file)
@@ -94,7 +94,7 @@ enum config_group
    CLIENT_CONN_OTHER,
    LOCK_MANAGEMENT,
    COMPAT_OPTIONS_PREVIOUS,
-   COMPAT_OPTIONS_CLIENT,
+   COMPAT_OPTIONS_OTHER,
    ERROR_HANDLING_OPTIONS,
    PRESET_OPTIONS,
    CUSTOM_OPTIONS,