Commit Graph

241 Commits (818013665259d4242ba641aad705ebe5a3e2db8e)

Author SHA1 Message Date
Michael Paquier 88e947136b Fix typos and grammar in the code 8 months ago
Noah Misch f4ece891fc Assert lack of hazardous buffer locks before possible catalog read. 8 months ago
Peter Eisentraut 890fc826c9 Use thread-safe strftime_l() instead of strftime(). 9 months ago
Peter Eisentraut b98be8a2a2 Provide thread-safe pg_localeconv_r(). 9 months ago
Jeff Davis bfc5992069 Add SQL function CASEFOLD(). 11 months ago
Jeff Davis d3d0983169 Support PG_UNICODE_FAST locale in the builtin collation provider. 11 months ago
Jeff Davis a2f17f004d Control collation behavior with a method table. 11 months ago
Jeff Davis 4f5cef2607 Move code for collation version into provider-specific files. 11 months ago
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