diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-10-06 11:08:56 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-10-06 11:08:56 -0400 |
commit | ca71131eebba63809ceb86be033a264a5f0a1d79 (patch) | |
tree | bff861724e38a284e336b166f60ce6c341c69973 /src/backend/access/gist/gistproc.c | |
parent | 5757141caeaff4af0c206ab672d542cbd608542c (diff) | |
download | postgresql-ca71131eebba63809ceb86be033a264a5f0a1d79.tar.gz |
Introduce t_isalnum() to replace t_isalpha() || t_isdigit() tests.
ts_locale.c omitted support for "isalnum" tests, perhaps on the
grounds that there were initially no use-cases for that. However,
both ltree and pg_trgm need such tests, and we do also have one
use-case now in the core backend. The workaround of testing
isalpha and isdigit separately seems quite inefficient, especially
when dealing with multibyte characters; so let's fill in the
missing support.
Discussion: https://postgr.es/m/2548310.1664999615@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions