Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit de7e96b

Browse files
committed
Rename COMPAT_OPTIONS_CLIENT to COMPAT_OPTIONS_OTHER.
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
1 parent d6a6957 commit de7e96b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/utils/misc/guc_tables.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ const char *const config_group_names[] =
711711
[CLIENT_CONN_OTHER] = gettext_noop("Client Connection Defaults / Other Defaults"),
712712
[LOCK_MANAGEMENT] = gettext_noop("Lock Management"),
713713
[COMPAT_OPTIONS_PREVIOUS] = gettext_noop("Version and Platform Compatibility / Previous PostgreSQL Versions"),
714-
[COMPAT_OPTIONS_CLIENT] = gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
714+
[COMPAT_OPTIONS_OTHER] = gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
715715
[ERROR_HANDLING_OPTIONS] = gettext_noop("Error Handling"),
716716
[PRESET_OPTIONS] = gettext_noop("Preset Options"),
717717
[CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
@@ -1523,7 +1523,7 @@ struct config_bool ConfigureNamesBool[] =
15231523
NULL, NULL, NULL
15241524
},
15251525
{
1526-
{"transform_null_equals", PGC_USERSET, COMPAT_OPTIONS_CLIENT,
1526+
{"transform_null_equals", PGC_USERSET, COMPAT_OPTIONS_OTHER,
15271527
gettext_noop("Treats \"expr=NULL\" as \"expr IS NULL\"."),
15281528
gettext_noop("When turned on, expressions of the form expr = NULL "
15291529
"(or NULL = expr) are treated as expr IS NULL, that is, they "

src/include/utils/guc_tables.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ enum config_group
9494
CLIENT_CONN_OTHER,
9595
LOCK_MANAGEMENT,
9696
COMPAT_OPTIONS_PREVIOUS,
97-
COMPAT_OPTIONS_CLIENT,
97+
COMPAT_OPTIONS_OTHER,
9898
ERROR_HANDLING_OPTIONS,
9999
PRESET_OPTIONS,
100100
CUSTOM_OPTIONS,

0 commit comments

Comments
 (0)