Commit Graph

150 Commits (9e283fc85d66f6e4d355c6996e863afb026866d4)

Author SHA1 Message Date
Peter Eisentraut b99ccd2cb2 Call pg_newlocale_from_collation() also with default collation 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Michael Paquier 98105e53e0 Fix typos 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 4 years ago
Peter Eisentraut ec6e70c79f Refactor some error messages for easier translation 4 years ago
Thomas Munro ec48314708 Revert per-index collation version tracking feature. 4 years ago
Thomas Munro 8556267b2b Revert "pg_collation_actual_version() -> pg_collation_current_version()." 5 years ago
Thomas Munro beb4480c85 Refactor get_collation_current_version(). 5 years ago
Thomas Munro 9cf184cc05 pg_collation_actual_version() -> pg_collation_current_version(). 5 years ago
Thomas Munro 0fb0a0503b Hide internal error for pg_collation_actual_version(<bad OID>). 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane 7ca37fb040 Use setenv() in preference to putenv(). 5 years ago
Tom Lane b3817f5f77 Improve hash_create()'s API for some added robustness. 5 years ago
Thomas Munro ca051d8b10 Add collation versions for FreeBSD. 5 years ago
Tom Lane ff94205787 Suppress "warning: variable 'collcollate' set but not used". 5 years ago
Thomas Munro d50e3b1f8d Fix assertion in collation version lookup. 5 years ago
Thomas Munro 9f12a3b95d Tolerate version lookup failure for old style Windows locale names. 5 years ago
Thomas Munro 257836a755 Track collation versions for indexes. 5 years ago
Thomas Munro 7d1297df08 Remove pg_collation.collversion. 5 years ago
Peter Eisentraut 1784f278a6 Replace remaining StrNCpy() by strlcpy() 5 years ago
Amit Kapila a169155453 Fix the MSVC build for versions 2015 and later. 5 years ago
Thomas Munro 352f6f2df6 Add collation versions for Windows. 6 years ago
Thomas Munro 382a821907 Allow NULL version for individual collations. 6 years ago
Tom Lane d677550493 Allow to_date/to_timestamp to recognize non-English month/day names. 6 years ago
Tom Lane 5afaa2e426 Rationalize code placement between wchar.c, encnames.c, and mbutils.c. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Thomas Munro d5ac14f9cc Use libc version as a collation version on glibc systems. 6 years ago
Peter Eisentraut 50518ec296 Revert "Use libc version as a collation version on glibc systems." 6 years ago
Peter Eisentraut 9f90b1d08d Use libc version as a collation version on glibc systems. 6 years ago
Peter Eisentraut 38d8dce61f Remove some code for old unsupported versions of MSVC 6 years ago
Michael Paquier c96581abe4 Fix inconsistencies and typos in the tree, take 11 6 years ago
Michael Paquier 66bde49d96 Fix inconsistencies and typos in the tree, take 10 6 years ago
Alvaro Herrera 75445c1515 More message style fixes 6 years ago
Tom Lane 7ad1cd31bf Repair assorted issues in locale data extraction. 6 years ago
Peter Eisentraut 5e1963fb76 Collations with nondeterministic comparison 7 years ago
Peter Eisentraut 1f050c08f9 Fix bug in support for collation attributes on older ICU versions 7 years ago
Peter Eisentraut b8f9a2a69a Add support for collation attributes on older ICU versions 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Tom Lane 85feb77aa0 Assume wcstombs(), towlower(), and sibling functions are always present. 8 years ago
Tom Lane 7b86c2ac95 Improve dubious memory management in pg_newlocale_from_collation(). 8 years ago
Tom Lane 514f613293 Second try at getting useful errors out of newlocale/_create_locale. 8 years ago
Tom Lane 1e165d05fe Try to deliver a sane message for _create_locale() failure on Windows. 8 years ago
Peter Eisentraut d8b3c81335 Refine memory allocation in ICU conversions 8 years ago
Peter Eisentraut 13a57710db Prohibit creating ICU collation with different ctype 8 years ago
Tom Lane b6159202c9 Fix memory leakage in ICU encoding conversion, and other code review. 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 8 years ago