diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-12-09 13:24:38 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-12-09 13:24:38 +0900 |
commit | 16c302f51235eaec05a1f85a11c1df04ef3a6785 (patch) | |
tree | 9da21fcb5fcff1363fb1d3d58838d6ce9c075e87 /contrib/postgres_fdw/deparse.c | |
parent | df99ddc70b971a991c5111a33f2f08bd7945d5c2 (diff) | |
download | postgresql-16c302f51235eaec05a1f85a11c1df04ef3a6785.tar.gz postgresql-16c302f51235eaec05a1f85a11c1df04ef3a6785.zip |
Simplify code for getting a unicode codepoint's canonical class.
Three places of unicode_norm.c use a similar logic for getting the
combining class from a codepoint. Commit 2991ac5 has added the function
get_canonical_class() for this purpose, but it was only called by the
backend. This commit refactors the code to use this function in all
the places where the combining class is retrieved from a given
codepoint.
Author: John Naylor
Discussion: https://postgr.es/m/CAFBsxsHUV7s7YrOm6hFz-Jq8Sc7K_yxTkfNZxsDV-DuM-k-gwg@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/deparse.c')
0 files changed, 0 insertions, 0 deletions