Re: [HACKERS] multi-byte aware char_length() etc. - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] multi-byte aware char_length() etc.
Date
Msg-id 199804231352.JAA22718@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] multi-byte aware char_length() etc.  (t-ishii@sra.co.jp)
List 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@lunaris.hanmesoft.co.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@candle.pha.pa.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)

pgsql-hackers by date:

Previous
From: Peter Mount
Date:
Subject: RE: [HACKERS] Oops
Next
From: "Oliver Elphick"
Date:
Subject: Re: [QUESTIONS] pginterface compiling