postgresql/contrib/unaccent
Jeff Davis c45dc7ffbb initdb: derive encoding from locale for ICU; similar to libc.
Previously, the default encoding was derived from the locale when
using libc; while the default was always UTF-8 when using ICU. That
would throw an error when the locale was not compatible with UTF-8.

This commit causes initdb to derive the default encoding from the
locale for both providers. If --no-locale is specified (or if the
locale is C or POSIX), the default encoding will be UTF-8 for ICU
(because ICU does not support SQL_ASCII) and SQL_ASCII for libc.

Per buildfarm failure on system "hoverfly" related to commit
27b62377b4.

Discussion: https://postgr.es/m/d191d5841347301a8f1238f609471ddd957fc47e.camel%40j-davis.com
2023-03-10 10:51:24 -08:00
..
expected Use ICU by default at initdb time. 2023-03-09 10:52:41 -08:00
sql Use ICU by default at initdb time. 2023-03-09 10:52:41 -08:00
.gitignore Add support for automatically updating Unicode derived files 2020-01-09 10:08:14 +01:00
Makefile Make update-unicode target work in vpath builds 2022-03-25 09:47:50 +01:00
generate_unaccent_rules.py Simplify a bit the special rules generating unaccent.rules 2022-07-05 16:17:51 +09:00
meson.build initdb: derive encoding from locale for ICU; similar to libc. 2023-03-10 10:51:24 -08:00
unaccent--1.0--1.1.sql Update unaccent extension for parallel query. 2016-06-14 14:55:49 -04:00
unaccent--1.1.sql Update unaccent extension for parallel query. 2016-06-14 14:55:49 -04:00
unaccent.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
unaccent.control Mark some contrib modules as "trusted". 2020-02-13 15:02:35 -05:00
unaccent.rules Re-update Unicode data to CLDR 39 2022-03-10 14:09:21 +01:00