another multibyte question

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: another multibyte question
Date: 2002-08-14 15:42:15
Message-ID: 3D5A7A57.9090600@joeconway.com
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.

Joe

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Copeland 2002-08-14 15:48:01 Re: Inheritance
Previous Message Joe Conway 2002-08-14 15:32:11 Re: Inheritance