Re: speed up unicode decomposition and recomposition - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: speed up unicode decomposition and recomposition
Date
Msg-id 20201021003131.GD1475@paquier.xyz
Whole thread Raw
In response to Re: speed up unicode decomposition and recomposition  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-hackers
On Tue, Oct 20, 2020 at 08:03:12AM -0400, John Naylor wrote:
> I've confirmed that. How about a new header unicode_norm_hashfunc.h which
> would include unicode_norm_table.h at the top. In unicode.c, we can include
> one of these depending on frontend or backend.

Sounds good to me.  Looking at the code, I would just generate the
second file within generate-unicode_norm_table.pl.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: speed up unicode normalization quick check
Next
From: Tom Lane
Date:
Subject: Re: ECPG gets embedded quotes wrong