aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2021-08-26 10:53:56 -0400
committerJohn Naylor <john.naylor@postgresql.org>2021-08-26 10:53:56 -0400
commitbab982161e0590746a2fd2a03043b27108b23ac6 (patch)
treefd77c5e80bbc1f83da0379a6427b99dc5bb26393 /src/backend/regex/regexec.c
parent1563ecbc1be8b8e5c57651cf5c87f90dea9aea8f (diff)
downloadpostgresql-bab982161e0590746a2fd2a03043b27108b23ac6.tar.gz
postgresql-bab982161e0590746a2fd2a03043b27108b23ac6.zip
Update display widths as part of updating Unicode
The hardcoded "wide character" set in ucs_wcwidth() was last updated around the Unicode 5.0 era. This led to misalignment when printing emojis and other codepoints that have since been designated wide or full-width. To fix and keep up to date, extend update-unicode to download the list of wide and full-width codepoints from the offical sources. In passing, remove some comments about non-spacing characters that haven't been accurate since we removed the former hardcoded logic. Jacob Champion Reported and reviewed by Pavel Stehule Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRCeX21O69YHxmykYySYyprZAqrKWWg0KoGKdjgqcGyygg@mail.gmail.com
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions