mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Missed adding two files from the MultiByte patch...
This commit is contained in:
parent
a9ed49d5b5
commit
bab9818c4b
55
src/test/regress/expected/euc_kr.out
Normal file
55
src/test/regress/expected/euc_kr.out
Normal 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)
|
||||
|
15
src/test/regress/sql/euc_kr.sql
Normal file
15
src/test/regress/sql/euc_kr.sql
Normal 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 용어 ~* '컴퓨터[디그]';
|
Loading…
Reference in New Issue
Block a user