Re: A (but copied many) typo of char-mapping tables

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: A (but copied many) typo of char-mapping tables
Date: 2021-07-22 07:45:47
Message-ID: fef97a92-c510-a68b-ce8f-465b2c6054c3@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 16.07.21 10:02, Kyotaro Horiguchi wrote:
> While I looked into a .map file in src/backend/utils/mb/Unicode, I
> notice of a typo in it.
>
> > static const pg_mb_radix_tree euc_jp_from_unicode_tree =
> > {
> > ..
> > 0x0000, /* offset of table for 1-byte inputs */
> > ...
> > 0x0040, /* offset of table for 2-byte inputs */
> > ...
> > 0x02c3, /* offset of table for 3-byte inputs */
> > ...
> !> 0x0000, /* offset of table for 3-byte inputs */
> > 0x00, /* b4_1_lower */
> > 0x00, /* b4_1_upper */
> > ...
> > };
>
> Yeah, the line above prefixed by '!' is apparently a typo of "4-byte
> inputs", which comes from a typo in convutils.pm.

fixed, thanks

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Rijkers 2021-07-22 07:49:27 Re: SQL/JSON: JSON_TABLE
Previous Message David Rowley 2021-07-22 07:44:54 Re: ORDER BY pushdowns seem broken in postgres_fdw