mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Remove provider field from pg_locale_t.
The behavior of pg_locale_t is specified by methods, so a separate provider field is no longer necessary. Reviewed-by: Andreas Karlsson <andreas@proxel.se> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/2830211e1b6e6a2e26d845780b03e125281ea17b.camel%40j-davis.com
This commit is contained in:
@@ -240,7 +240,6 @@ create_pg_locale_builtin(Oid collid, MemoryContext context)
|
||||
|
||||
result->info.builtin.locale = MemoryContextStrdup(context, locstr);
|
||||
result->info.builtin.casemap_full = (strcmp(locstr, "PG_UNICODE_FAST") == 0);
|
||||
result->provider = COLLPROVIDER_BUILTIN;
|
||||
result->deterministic = true;
|
||||
result->collate_is_c = true;
|
||||
result->ctype_is_c = (strcmp(locstr, "C") == 0);
|
||||
|
Reference in New Issue
Block a user