Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bab9818

Browse files
committed
Missed adding two files from the MultiByte patch...
1 parent a9ed49d commit bab9818

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

src/test/regress/expected/euc_kr.out

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
QUERY: drop table ͪߩѦ���;
2+
ERROR: Relation ͪߩѦ��� Does Not Exist!
3+
QUERY: create table ͪߩѦ��� (��� text, ��׾�ڵ� varchar, ���1A�� char(16));
4+
QUERY: create index ͪߩѦ���index1 on ͪߩѦ��� using btree (���);
5+
QUERY: create index ͪߩѦ���index2 on ͪߩѦ��� using hash (��׾�ڵ�);
6+
QUERY: insert into ͪߩѦ��� values('��ǻ�͵��÷���', 'ѦA01߾');
7+
QUERY: insert into ͪߩѦ��� values('��ǻ�ͱ׷��Ƚ�', '��B10��');
8+
QUERY: insert into ͪߩѦ��� values('��ǻ�����α׷���', '��Z01��');
9+
QUERY: vacuum ͪߩѦ���;
10+
QUERY: select * from ͪߩѦ���;
11+
��� |��׾�ڵ�|���1a��
12+
----------------+--------+----------
13+
��ǻ�͵��÷���|ѦA01߾ |
14+
��ǻ�ͱ׷��Ƚ� |��B10�� |
15+
��ǻ�����α׷���|��Z01�� |
16+
(3 rows)
17+
18+
QUERY: select * from ͪߩѦ��� where ��׾�ڵ� = '��Z01��';
19+
��� |��׾�ڵ�|���1a��
20+
----------------+--------+----------
21+
��ǻ�����α׷���|��Z01�� |
22+
(1 row)
23+
24+
QUERY: select * from ͪߩѦ��� where ��׾�ڵ� ~* '��z01��';
25+
��� |��׾�ڵ�|���1a��
26+
----------------+--------+----------
27+
��ǻ�����α׷���|��Z01�� |
28+
(1 row)
29+
30+
QUERY: select * from ͪߩѦ��� where ��׾�ڵ� like '_Z01_';
31+
��� |��׾�ڵ�|���1a��
32+
----------------+--------+----------
33+
��ǻ�����α׷���|��Z01�� |
34+
(1 row)
35+
36+
QUERY: select * from ͪߩѦ��� where ��׾�ڵ� like '_Z%';
37+
��� |��׾�ڵ�|���1a��
38+
----------------+--------+----------
39+
��ǻ�����α׷���|��Z01�� |
40+
(1 row)
41+
42+
QUERY: select * from ͪߩѦ��� where ��� ~ '��ǻ��[���]';
43+
��� |��׾�ڵ�|���1a��
44+
----------------+--------+----------
45+
��ǻ�͵��÷���|ѦA01߾ |
46+
��ǻ�ͱ׷��Ƚ� |��B10�� |
47+
(2 rows)
48+
49+
QUERY: select * from ͪߩѦ��� where ��� ~* '��ǻ��[���]';
50+
��� |��׾�ڵ�|���1a��
51+
----------------+--------+----------
52+
��ǻ�͵��÷���|ѦA01߾ |
53+
��ǻ�ͱ׷��Ƚ� |��B10�� |
54+
(2 rows)
55+

src/test/regress/sql/euc_kr.sql

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
drop table 計算機용어;
2+
create table 計算機용어 (용어 text, 分類코드 varchar, 비고1A라구 char(16));
3+
create index 計算機용어index1 on 計算機용어 using btree (용어);
4+
create index 計算機용어index2 on 計算機용어 using hash (分類코드);
5+
insert into 計算機용어 values('컴퓨터디스플레이', '機A01上');
6+
insert into 計算機용어 values('컴퓨터그래픽스', '分B10中');
7+
insert into 計算機용어 values('컴퓨터프로그래머', '人Z01下');
8+
vacuum 計算機용어;
9+
select * from 計算機용어;
10+
select * from 計算機용어 where 分類코드 = '人Z01下';
11+
select * from 計算機용어 where 分類코드 ~* '人z01下';
12+
select * from 計算機용어 where 分類코드 like '_Z01_';
13+
select * from 計算機용어 where 分類코드 like '_Z%';
14+
select * from 計算機용어 where 용어 ~ '컴퓨터[디그]';
15+
select * from 計算機용어 where 용어 ~* '컴퓨터[디그]';

0 commit comments

Comments
 (0)