Re: [HACKERS] Implications of multi-byte support in a distribution - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] Implications of multi-byte support in a distribution
Date
Msg-id 199909010230.LAA23513@srapc451.sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] Implications of multi-byte support in a distribution  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
>> Perhaps the worst case for MB would be regex ops. If you do a lot of
>> regex queries, performance degration might not be neglectable.
>
>It should be. What would be nice is to have a column-specific
>MB support. But I doubt if it's possible.

That shouldn't be too difficult, if we have an encoding infomation
with each text column or literal. Maybe now is the time to introuce
NCHAR?

BTW, it is interesting that people does not hesitate to enable
with-locale option even if they only use ASCII. I guess the
performance degration by enabling locale is not too small.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Postgres' lexer
Next
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Implications of multi-byte support in a distribution