diff options
| author | Jeff Davis | 2024-03-18 18:56:45 +0000 |
|---|---|---|
| committer | Jeff Davis | 2024-03-18 18:58:13 +0000 |
| commit | 846311051e8fdca4c9db83b2b09425759a8b102d (patch) | |
| tree | a6b47781bb156109b4048c773b7ad30be9d9a96b /src/include | |
| parent | 66ab9371a23320cf608e68e8e5d2811992941bea (diff) | |
Address more review comments on commit 2d819a08a1.
Based on comments from Peter Eisentraut.
* Document CREATE DATABASE ... BUILTIN_LOCALE.
* Determine required encoding based on locale name for CREATE
COLLATION. Use -1 for "C" (requires catversion bump).
* initdb output fixups.
* Make ctype_is_c a constant true for now.
* Fixups to ICU 010_create_database.pl test.
Discussion: https://postgr.es/m/4135cf11-206d-40ed-96c0-9363c1232379@eisentraut.org
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/catversion.h | 2 | ||||
| -rw-r--r-- | src/include/utils/pg_locale.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 43a9a707094..6fb22007ed0 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -57,6 +57,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 202403172 +#define CATALOG_VERSION_NO 202403181 #endif diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h index 3d949d51123..205aa200672 100644 --- a/src/include/utils/pg_locale.h +++ b/src/include/utils/pg_locale.h @@ -117,6 +117,7 @@ extern size_t pg_strxfrm_prefix(char *dest, const char *src, size_t destsize, extern size_t pg_strnxfrm_prefix(char *dest, size_t destsize, const char *src, size_t srclen, pg_locale_t locale); +extern int builtin_locale_encoding(const char *loc_str); extern const char *builtin_validate_locale(int encoding, const char *loc_str); extern void icu_validate_locale(const char *loc_str); extern char *icu_language_tag(const char *loc_str, int elevel); |
