aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2024-03-27 10:45:28 -0400
committerRobert Haas <rhaas@postgresql.org>2024-03-27 10:45:28 -0400
commitde7e96bd0fc620715fa1c7bd9985463c358664cf (patch)
tree28c58e2220b3ed233cd48e3739ffa7aae145bd8b
parentd6a6957d53e3de9982b076b6ddd703be3d0ae30a (diff)
downloadpostgresql-de7e96bd0fc620715fa1c7bd9985463c358664cf.tar.gz
postgresql-de7e96bd0fc620715fa1c7bd9985463c358664cf.zip
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
-rw-r--r--src/backend/utils/misc/guc_tables.c4
-rw-r--r--src/include/utils/guc_tables.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c
index 1e71e7db4a0..abd9029451f 100644
--- a/src/backend/utils/misc/guc_tables.c
+++ b/src/backend/utils/misc/guc_tables.c
@@ -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 "
diff --git a/src/include/utils/guc_tables.h b/src/include/utils/guc_tables.h
index 0a2e274ebb2..0c0277c4230 100644
--- a/src/include/utils/guc_tables.h
+++ b/src/include/utils/guc_tables.h
@@ -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,