Re: small cleanup in unicode_norm.c

2020-12-08 Thread Michael Paquier
On Tue, Dec 08, 2020 at 02:25:43PM -0400, John Naylor wrote: > Thanks for taking a look. Sounds good, I've made those adjustments and > wrote a commit message. I took another look and didn't see anything else to > address. Looks good to me, so applied. -- Michael signature.asc Description: PGP

Re: small cleanup in unicode_norm.c

2020-12-08 Thread John Naylor
On Tue, Dec 8, 2020 at 5:45 AM Michael Paquier wrote: > > On Mon, Dec 07, 2020 at 03:24:56PM -0400, John Naylor wrote: > > We've had get_canonical_class() for a while as a backend-only function. > > There is some ad-hoc code elsewhere that implements the same logic in a > > couple places, so it

Re: small cleanup in unicode_norm.c

2020-12-08 Thread Michael Paquier
On Mon, Dec 07, 2020 at 03:24:56PM -0400, John Naylor wrote: > We've had get_canonical_class() for a while as a backend-only function. > There is some ad-hoc code elsewhere that implements the same logic in a > couple places, so it makes sense for all sites to use this function > instead, as in

small cleanup in unicode_norm.c

2020-12-07 Thread John Naylor
We've had get_canonical_class() for a while as a backend-only function. There is some ad-hoc code elsewhere that implements the same logic in a couple places, so it makes sense for all sites to use this function instead, as in the attached. -- John Naylor EnterpriseDB: