diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-04-27 17:10:50 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-04-27 17:10:50 +0000 |
| commit | f554af0a9fdbe0e9636fce36d6c809e81ce1539c (patch) | |
| tree | 3cd60fe19a94c78e774ac3b70ef3d729f7896f20 /src/test/regress/sql/euc_jp.sql | |
| parent | 2cbcf461028dee105f69328e4589f08a4f59db91 (diff) | |
| download | postgresql-f554af0a9fdbe0e9636fce36d6c809e81ce1539c.tar.gz | |
From: t-ishii@sra.co.jp
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.
Diffstat (limited to 'src/test/regress/sql/euc_jp.sql')
| -rw-r--r-- | src/test/regress/sql/euc_jp.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/regress/sql/euc_jp.sql b/src/test/regress/sql/euc_jp.sql index 8cba58055d..2021205bf4 100644 --- a/src/test/regress/sql/euc_jp.sql +++ b/src/test/regress/sql/euc_jp.sql @@ -13,3 +13,7 @@ select * from 計算機用語 where 分類コード like '_Z01_'; select * from 計算機用語 where 分類コード like '_Z%'; select * from 計算機用語 where 用語 ~ 'コンピュータ[デグ]'; select * from 計算機用語 where 用語 ~* 'コンピュータ[デグ]'; +select *,character_length(用語) from 計算機用語; +select *,octet_length(用語) from 計算機用語; +select *,position('デ' in 用語) from 計算機用語; +select *,substring(用語 from 10 for 4) from 計算機用語; |
