git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 064709f) | patch
Fix t_isspace(), etc., when datlocprovider=i and datctype=C.
2023年3月17日 18:47:35 +0000 (11:47 -0700)
2023年3月17日 19:08:46 +0000 (12:08 -0700)
commit f413941f41d370a7893caa3e6ed384b89a0577fd
Fix t_isspace(), etc., when datlocprovider=i and datctype=C.

Check whether the datctype is C to determine whether t_isspace() and
related functions use isspace() or iswspace().

Previously, t_isspace() checked whether the database default collation
was C; which is incorrect when the default collation uses the ICU
provider.

Discussion: https://postgr.es/m/79e4354d9eccfdb00483146a6b9f6295202e7890.camel@j-davis.com
Reviewed-by: Peter Eisentraut
Backpatch-through: 15
contrib/unaccent/expected/unaccent.out diff | blob | blame | history
contrib/unaccent/expected/unaccent_1.out [deleted file] blob | blame | history
contrib/unaccent/sql/unaccent.sql diff | blob | blame | history
src/backend/tsearch/ts_locale.c diff | blob | blame | history
src/backend/tsearch/wparser_def.c diff | blob | blame | history
src/backend/utils/adt/pg_locale.c diff | blob | blame | history
src/backend/utils/init/postinit.c diff | blob | blame | history
src/include/utils/pg_locale.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /