~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/test/regress/sql/euc_kr.sql

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
Import upstream version 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 ��� ~* '��ǻ��[���]';
 
16
select *,character_length(���) from ͪߩѦ���;
 
17
select *,octet_length(���) from ͪߩѦ���;
 
18
select *,position('��' in ���) from ͪߩѦ���;
 
19
select *,substring(��� from 3 for 4) from ͪߩѦ���;