summaryrefslogtreecommitdiff
path: root/src/backend/utils/init
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2025-10-21 09:32:04 -0700
committerJeff Davis <jdavis@postgresql.org>2025-10-21 09:32:04 -0700
commit844385d12e7515f3461e53728f0a9358bc35b6a5 (patch)
treea0c808d3b859cddc55eacc3b73e5106871af6b88 /src/backend/utils/init
parente113f9c102b7e2462facf0ecffc97f8093efed54 (diff)
Remove obsolete global database_ctype_is_c.
Now that tsearch uses the database default locale, there's no need to track the database CTYPE separately. Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/0151ad01239e2cc7b3139644358cf8f7b9622ff7.camel@j-davis.com
Diffstat (limited to 'src/backend/utils/init')
-rw-r--r--src/backend/utils/init/postinit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 641e535a73c..98f9598cd78 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -430,10 +430,6 @@ CheckMyDatabase(const char *name, bool am_superuser, bool override_allow_connect
" which is not recognized by setlocale().", ctype),
errhint("Recreate the database with another locale or install the missing locale.")));
- if (strcmp(ctype, "C") == 0 ||
- strcmp(ctype, "POSIX") == 0)
- database_ctype_is_c = true;
-
init_database_collation();
/*