Commit Graph

233 Commits (3c49d462dbcfaff7bb77b1fec2c73c1079d25433)

Author SHA1 Message Date
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Jeff Davis 86a5d6006a Refactor string case conversion into provider-specific files. 1 year ago
Jeff Davis 1ba0782ce9 Perform provider-specific initialization in new functions. 1 year ago
Jeff Davis e3fa2b037c Fix unintentional behavior change in commit e9931bfb75. 1 year ago
Thomas Munro 1758d42446 Require ucrt if using MinGW. 1 year ago
Álvaro Herrera e6c32d9fad
Clean up newlines following left parentheses 1 year ago
Jeff Davis 3aa2373c11 Refactor the code to create a pg_locale_t into new function. 1 year ago
Jeff Davis 66ac94cdc7 Move libc-specific code from pg_locale.c into pg_locale_libc.c. 1 year ago
Jeff Davis f244a2bb4c Move ICU-specific code from pg_locale.c into pg_locale_icu.c. 1 year ago
Thomas Munro adbb27ac89 Reject non-ASCII locale names. 1 year ago
Jeff Davis ac30021356 Allow length=-1 for NUL-terminated input to pg_strncoll(), etc. 1 year ago
Jeff Davis ceeaaed87a Tighten up make_libc_collator() and make_icu_collator(). 1 year ago
Jeff Davis b0c30612c5 Simplify checks for deterministic collations. 1 year ago
Jeff Davis 51edc4ca54 Remove lc_ctype_is_c(). 1 year ago
Jeff Davis 06421b0843 Remove lc_collate_is_c(). 1 year ago
Jeff Davis 12d3345c0d Remember last collation to speed up collation cache. 1 year ago
Peter Eisentraut a2bbc58f74 thread-safety: gmtime_r(), localtime_r() 1 year ago
Thomas Munro 2724ff381a Fix harmless LC_COLLATE[_MASK] confusion. 1 year ago
Jeff Davis a890ad2149 selfuncs.c: use pg_strxfrm() instead of strxfrm(). 1 year ago
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