Re: [HACKERS] Radix tree for character conversion - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [HACKERS] Radix tree for character conversion
Date
Msg-id 12371891-5df9-6ccd-b35d-7ce8bd6c313c@iki.fi
Whole thread Raw
In response to Re: [HACKERS] Radix tree for character conversion  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Responses Re: [HACKERS] Radix tree for character conversion  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 03/06/2017 10:16 AM, Kyotaro HORIGUCHI wrote:
> At Fri, 3 Mar 2017 12:53:04 +0900, Michael Paquier <michael.paquier@gmail.com> wrote in
<CAB7nPqSQaLozFNg+5Tf9s1TZs2pcE-GHhnMG31qnsusV9vMUOw@mail.gmail.com>
>> On Thu, Mar 2, 2017 at 2:20 PM, Kyotaro HORIGUCHI
>> <horiguchi.kyotaro@lab.ntt.co.jp> wrote:
>>> 5) Just remove plain map files and all related code. Addition to
>>>    that, Makefile stores hash digest of authority files in
>>>    Unicode/authoriy_hashes.txt or something that is managed by
>>>    git.
>>
>> That may be an idea to check for differences across upstream versions.
>> But that sounds like a separate discussion to me.
>
> Fine with me either.

I did some more kibitzing here and there, and committed. Thanks everyone!

I agree the new maps should just replace the old maps altogether, so 
committed that way. I also moved the combined map files to the same .map 
files as the main radix trees. Seems more clear that way to me.

I changed the to/from_unicode properties back to a single direction 
property, with Perl constants BOTH, TO_UNICODE and FROM_UNICODE, per 
your alternative suggestion upthread. Seems more clear to me.

It would be nice to run the map_checker tool one more time, though, to 
verify that the mappings match those from PostgreSQL 9.6. Just to be 
sure, and after that the map checker can go to the dustbin.

- Heikki




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] PATCH: pageinspect / add page_checksum andbt_page_items(bytea)
Next
From: David Steele
Date:
Subject: Re: [HACKERS] PATCH: Configurable file mode mask