Re: improvements in Unicode tables generation code

2021-10-04 Thread Peter Eisentraut
On 28.09.21 10:25, Peter Eisentraut wrote: On 20.07.21 13:57, Peter Eisentraut wrote: Perhaps we should change the script or Makefile so that it doesn't create all the maps in one go? I agree, either comment it better or just write one file at a time. I'll take another look at that. Here

Re: improvements in Unicode tables generation code

2021-09-28 Thread Peter Eisentraut
On 20.07.21 13:57, Peter Eisentraut wrote: Perhaps we should change the script or Makefile so that it doesn't create all the maps in one go? I agree, either comment it better or just write one file at a time. I'll take another look at that. Here is a patch that does it one file (pair) at a

Re: improvements in Unicode tables generation code

2021-07-20 Thread Peter Eisentraut
On 23.06.21 10:55, Peter Eisentraut wrote: v1-0001-Make-Unicode-makefile-more-parallel-safe.patch The makefile rule that calls UCS_to_most.pl was written incorrectly for parallel make.  The script writes all output files in one go, but the rule as written would call the command once for each out

Re: improvements in Unicode tables generation code

2021-06-23 Thread Peter Eisentraut
On 22.06.21 10:20, Heikki Linnakangas wrote: On 22/06/2021 10:20, Peter Eisentraut wrote: I have accumulated a few patches to improve the output of the scripts in src/backend/utils/mb/Unicode/ to be less non-standard-looking and fix a few other minor things in that area. v1-0001-Make-Unicode-ma

Re: improvements in Unicode tables generation code

2021-06-22 Thread Kyotaro Horiguchi
At Tue, 22 Jun 2021 11:20:46 +0300, Heikki Linnakangas wrote in > On 22/06/2021 10:20, Peter Eisentraut wrote: > > v1-0004-Simplify-code-generation-code.patch > > This simplifies the code a bit, which helps with the next patch. > > If we do that, let's add the trailing commas to the other array

Re: improvements in Unicode tables generation code

2021-06-22 Thread Heikki Linnakangas
On 22/06/2021 10:20, Peter Eisentraut wrote: I have accumulated a few patches to improve the output of the scripts in src/backend/utils/mb/Unicode/ to be less non-standard-looking and fix a few other minor things in that area. v1-0001-Make-Unicode-makefile-more-parallel-safe.patch The makefile

Re: improvements in Unicode tables generation code

2021-06-22 Thread Kyotaro Horiguchi
At Tue, 22 Jun 2021 09:20:16 +0200, Peter Eisentraut wrote in > I have accumulated a few patches to improve the output of the scripts > in src/backend/utils/mb/Unicode/ to be less non-standard-looking and > fix a few other minor things in that area. > > v1-0001-Make-Unicode-makefile-more-parall