Commit Graph

214 Commits (a54d4ed183927f15e1853b83106acebeeeee11c8)

Author SHA1 Message Date
Jeff Davis e9931bfb75 Remove support for null pg_locale_t most places. 1 year ago
Jeff Davis 679c5084cf Relax check for return value from second call of pg_strnxfrm(). 1 year ago
Jeff Davis 72fe6d24a3 Make collation not depend on setlocale(). 1 year ago
Jeff Davis 8240401437 Do not return NULL from pg_newlocale_from_collation(). 1 year ago
Jeff Davis c0ef1234df Fix whitespace in commit 005c6b833f. 1 year ago
Jeff Davis 1c461a8d8d Refactor: make default_locale internal to pg_locale.c. 1 year ago
Jeff Davis 005c6b833f Change collation cache to use simplehash.h. 1 year ago
Peter Eisentraut 5d2e1cc117 Replace some strtok() with strsep() 1 year ago
Michael Paquier b81a71aa05 Assign error codes where missing for user-facing failures 1 year ago
Peter Eisentraut 17974ec259 Revise GUC names quoting in messages again 2 years ago
Jeff Davis 832c4f657f Remove obsolete comment. 2 years ago
Jeff Davis 46a44dc372 Use version for builtin collations. 2 years ago
Jeff Davis f69319f2f1 Support C.UTF-8 locale in the new builtin collation provider. 2 years ago
Jeff Davis 60769c62dc Fix another warning, introduced by 846311051e. 2 years ago
Jeff Davis 846311051e Address more review comments on commit 2d819a08a1. 2 years ago
Jeff Davis 61f352ece9 Fix unreachable code warning from commit 2d819a08a1. 2 years ago
Jeff Davis 2d819a08a1 Introduce "builtin" collation provider. 2 years ago
Jeff Davis f696c0cd5f Catalog changes preparing for builtin collation provider. 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Michael Paquier 8d9978a717 Apply quotes more consistently to GUC names in logs 2 years ago
Michael Paquier b8f44a4779 Refactor error messages for unsupported providers in pg_locale.c 2 years ago
Thomas Munro 4e9fa6d56b Don't expose Windows' mbstowcs_l() and wcstombs_l(). 2 years ago
Peter Eisentraut e53a611523 Message wording improvements 2 years ago
Thomas Munro 8d9a9f034e All supported systems have locale_t. 2 years ago
Jeff Davis f3a01af29b ICU: do not convert locale 'C' to 'en-US-u-va-posix'. 3 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 3 years ago
Jeff Davis 1c634f6647 ICU: check for U_STRING_NOT_TERMINATED_WARNING. 3 years ago
Jeff Davis 6de31ce446 Reduce icu_validation_level default to WARNING. 3 years ago
Jeff Davis 455f948b0d Revert "ICU: do not convert locale 'C' to 'en-US-u-va-posix'." 3 years ago
Jeff Davis f7faa9976c ICU: do not convert locale 'C' to 'en-US-u-va-posix'. 3 years ago
Michael Paquier 8961cb9a03 Fix typos in comments 3 years ago
Thomas Munro 7d3d72b55e Remove obsolete defense against strxfrm() bugs. 3 years ago
Peter Geoghegan d6f0f95a6b Harmonize some more function parameter names. 3 years ago
Jeff Davis 36320cbc16 Fix MSVC warning introduced in ea1db8ae70. 3 years ago
Jeff Davis ea1db8ae70 Canonicalize ICU locale names to language tags. 3 years ago
Jeff Davis 1671f990dd Validate ICU locales. 3 years ago
Jeff Davis 8b3eb0c584 Fix error inconsistency in older ICU versions. 3 years ago
Daniel Gustafsson d435f15fff Add SysCacheGetAttrNotNull for guaranteed not-null attrs 3 years ago
Jeff Davis a03b3b6b4a Avoid potential UCollator leak for older ICU versions. 3 years ago
Jeff Davis 9a24289915 pg_locale.c: change ereport() to elog(). 3 years ago
Peter Eisentraut a9bc04b211 Fix incorrect format placeholders 3 years ago
Jeff Davis 3b50275b12 Handle the "und" locale in ICU versions 54 and older. 3 years ago
Jeff Davis a326aac8f1 Wrap ICU ucol_open(). 3 years ago
Jeff Davis 869650fa86 Support language tags in older ICU versions (53 and earlier). 3 years ago
Jeff Davis f413941f41 Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 3 years ago
Peter Eisentraut 30a53b7929 Allow tailoring of ICU locales with custom rules 3 years ago
Tom Lane ded7b7bbc3 Silence more compiler warnings introduced by d87d548cd0. 3 years ago
Jeff Davis 05fc551796 Silence compiler warnings introduced by d87d548cd0. 3 years ago
Jeff Davis 6974a8f768 Refactor to introduce pg_locale_deterministic(). 3 years ago