Missed adding two files from the MultiByte patch...

This commit is contained in:
Marc G. Fournier 1998-04-29 12:26:22 +00:00
parent a9ed49d5b5
commit bab9818c4b
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,55 @@
QUERY: drop table 計算機용어;
ERROR: Relation 計算機용어 Does Not Exist!
QUERY: create table 計算機용어 (용어 text, 分類코드 varchar, 비고1A라구 char(16));
QUERY: create index 計算機용어index1 on 計算機용어 using btree (용어);
QUERY: create index 計算機용어index2 on 計算機용어 using hash (分類코드);
QUERY: insert into 計算機용어 values('컴퓨터디스플레이', '機A01上');
QUERY: insert into 計算機용어 values('컴퓨터그래픽스', '分B10中');
QUERY: insert into 計算機용어 values('컴퓨터프로그래머', '人Z01下');
QUERY: vacuum 計算機용어;
QUERY: select * from 計算機용어;
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터디스플레이|機A01上 |
컴퓨터그래픽스 |分B10中 |
컴퓨터프로그래머|人Z01下 |
(3 rows)
QUERY: select * from 計算機용어 where 分類코드 = '人Z01下';
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터프로그래머|人Z01下 |
(1 row)
QUERY: select * from 計算機용어 where 分類코드 ~* '人z01下';
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터프로그래머|人Z01下 |
(1 row)
QUERY: select * from 計算機용어 where 分類코드 like '_Z01_';
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터프로그래머|人Z01下 |
(1 row)
QUERY: select * from 計算機용어 where 分類코드 like '_Z%';
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터프로그래머|人Z01下 |
(1 row)
QUERY: select * from 計算機용어 where 용어 ~ '컴퓨터[디그]';
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터디스플레이|機A01上 |
컴퓨터그래픽스 |分B10中 |
(2 rows)
QUERY: select * from 計算機용어 where 용어 ~* '컴퓨터[디그]';
용어 |分類코드|비고1a라구
----------------+--------+----------
컴퓨터디스플레이|機A01上 |
컴퓨터그래픽스 |分B10中 |
(2 rows)

View File

@ -0,0 +1,15 @@
drop table ;
create table ( text, varchar, 1A라구 char(16));
create index index1 on using btree ();
create index index2 on using hash ();
insert into values('컴퓨터디스플레이', '機A01上');
insert into values('컴퓨터그래픽스', '分B10中');
insert into values('컴퓨터프로그래머', '人Z01下');
vacuum ;
select * from ;
select * from where = '人Z01下';
select * from where ~* '人z01下';
select * from where like '_Z01_';
select * from where like '_Z%';
select * from where ~ '컴퓨터[디그]';
select * from where ~* '컴퓨터[디그]';