Re: [HACKERS] multi-byte aware char_length() etc.

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: lockhart(at)alumni(dot)caltech(dot)edu, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] multi-byte aware char_length() etc.
Date: 1998-04-23 13:52:06
Message-ID: 199804231352.JAA22718@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> Hi, here are patches I promised (against 6.3.2):
>
> * character_length(), position(), substring() are now aware of
> multi-byte characters
> * add octet_length()
> * add --with-mb option to configure
> * new regression tests for EUC_KR
> (contributed by "Soonmyung. Hong" <hong(at)lunaris(dot)hanmesoft(dot)co(dot)kr>)
> * add some test cases to the EUC_JP regression test
> * fix problem in regress/regress.sh in case of System V
> * fix toupper(), tolower() to handle 8bit chars
>
> note that:
>
> o patches for both configure.in and configure are
> included. maybe the one for configure is not necessary.
>
> o pg_proc.h was modified to add octet_length(). I used OIDs
> (1374-1379) for that. Please let me know if these numbers are not
> appropriate.

You obviously used /include/catalog/unused_oids for that. Perfect.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Byron Nikolaidis 1998-04-23 14:45:55 retrieving varchar size
Previous Message Oliver Elphick 1998-04-23 13:20:26 Re: [QUESTIONS] pginterface compiling