Re: another multibyte question

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: mail(at)joeconway(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: another multibyte question
Date: 2002-08-15 01:05:05
Message-ID: 20020815.100505.23011641.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Do any of the encodings with encoding max length > 1 have a constant
> character size (e.g. unicode?). If so, how hard would it be to add
> another member to pg_wchar_tbl, say:
>
> bool mblen_is_const; /* all chars = max bytes this charset */
>
> Then those character sets code gain back much of the same speed
> advantages as single byte character sets when it comes to string processing.

Sounds interesting idea, but none of encodings currently PostgreSQL
supports has fixed length character size. UCS-2/UCS-4 is such an
encoding, we do not support it however.
--
Tatsuo Ishii

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Curt Sampson 2002-08-15 01:20:01 Re: Inheritance
Previous Message Bruce Momjian 2002-08-15 00:30:47 Re: Open 7.3 items