Commit Graph

254 Commits (1e493158d3d25771ed066028c00cbbdb41573496)

Author SHA1 Message Date
Jeff Davis 1e493158d3 Remove char_tolower() API. 6 days ago
Tom Lane 8f1791c618 Fix some cases of indirectly casting away const. 2 weeks ago
Peter Eisentraut ec782f56b0 Replace pointer comparisons and assignments to literal zero with NULL 2 weeks ago
Jeff Davis 1476028225 Allow pg_locale_t APIs to work when ctype_is_c. 3 weeks ago
Jeff Davis d115de9d89 Special case C_COLLATION_OID in pg_newlocale_from_collation(). 1 month ago
Jeff Davis 844385d12e Remove obsolete global database_ctype_is_c. 2 months ago
Jeff Davis e533524b23 Add pg_database_locale() to retrieve database default locale. 2 months ago
Jeff Davis 67a8b49e96 Add pg_iswxdigit(), useful for tsearch. 2 months ago
Jeff Davis af164f31b9 Add pg_iswalpha() and related functions. 2 months ago
Jeff Davis 5a38104b36 Control ctype behavior internally with a method table. 6 months ago
Peter Eisentraut cc2ac0e6f9 Remove unused #include's in src/backend/utils/adt/* 6 months ago
Daniel Gustafsson fb844b9f06 Revert function to get memory context stats for processes 7 months ago
David Rowley 84fd3bc141 Fix a few duplicate words in comments 8 months ago
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