From f696c0cd5f299f1b51e214efc55a22a782cc175d Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Sat, 9 Mar 2024 14:48:18 -0800 Subject: Catalog changes preparing for builtin collation provider. Rename pg_collation.colliculocale to colllocale, and pg_database.daticulocale to datlocale. These names reflects that the fields will be useful for the upcoming builtin provider as well, not just for ICU. This is purely a rename; no changes to the meaning of the fields. Discussion: https://postgr.es/m/ff4c2f2f9c8fc7ca27c1c24ae37ecaeaeaff6b53.camel%40j-davis.com Reviewed-by: Peter Eisentraut --- doc/src/sgml/bki.sgml | 2 +- doc/src/sgml/catalogs.sgml | 26 ++++++++++++++++++++------ 2 files changed, 21 insertions(+), 7 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/bki.sgml b/doc/src/sgml/bki.sgml index 315ba819514..3cd5bee7ffa 100644 --- a/doc/src/sgml/bki.sgml +++ b/doc/src/sgml/bki.sgml @@ -186,7 +186,7 @@ datlocprovider => 'LOCALE_PROVIDER', datistemplate => 't', datallowconn => 't', dathasloginevt => 'f', datconnlimit => '-1', datfrozenxid => '0', datminmxid => '1', dattablespace => 'pg_default', datcollate => 'LC_COLLATE', - datctype => 'LC_CTYPE', daticulocale => 'ICU_LOCALE', datacl => '_null_' }, + datctype => 'LC_CTYPE', datlocale => 'DATLOCALE', datacl => '_null_' }, ] ]]> diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 0ae97d1adaa..387a14b1869 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -2407,7 +2407,10 @@ SCRAM-SHA-256$<iteration count>:&l collcollate text - LC_COLLATE for this collation object + LC_COLLATE for this collation object. If the provider is + not libc, collcollate is + NULL and colllocale is + used instead. @@ -2416,16 +2419,23 @@ SCRAM-SHA-256$<iteration count>:&l collctype text - LC_CTYPE for this collation object + LC_CTYPE for this collation object. If the provider is + not libc, collctype is + NULL and colllocale is + used instead. - colliculocale text + colllocale text - ICU locale ID for this collation object + Collation provider locale name for this collation object. If the + provider is libc, + colllocale is NULL; + collcollate and + collctype are used instead. @@ -3131,10 +3141,14 @@ SCRAM-SHA-256$<iteration count>:&l - daticulocale text + datlocale text - ICU locale ID for this database + Collation provider locale name for this database. If the + provider is libc, + datlocale is NULL; + datcollate and + datctype are used instead. -- cgit v1.2.3